Skip to main content

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.

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