Calling web service when the form initiated

  • 13 March 2018
  • 1 reply
  • 11 views

Badge +4

I have a simple web service method, the method just return a single string. i want to call this web service when the form initiated and put the string as a value of textbox control on the form.

 

As i know i should use the custom javascript on the form, but i have no idea the syntax of javascript to call web service.

 

Anyone can provide the sample code for reference? 

 

Thanks a lot.


1 reply

Userlevel 6
Badge +16

If your service has the same architecture in this sample, perhaps this helps >>> SharePoint 2010, 2013, ASP.NET MVC, Nintex Forms, Nintex Workflows and C#: How to integrate Nintex Form with JSON REST s… 

Reply