Showing results for 
Search instead for 
Did you mean: 
Workflow Hero

Unable to get the value from web service

I put below script to "Form Setting" --> "Custom Javascript", supposed the web service method abc will return a string "Hello World", i want put the return value to textbox control named txtHello, but i got an alert msg "Sorry could not proceed" when the form first load. anyone have idea? thanks.


function fun()
    var data="hello";
    { data = response;
    alert("Sorry could not proceed");

NWF$("#" + txtHello).val(data);

0 Kudos