REST service tests OK but fails when app is tested
No, I haven't yet. I'll post back here if I figure it out.
Catch up wih the Appery.io community on our forum. Here you'll find information on the lastest questions and issues Appery.io developers are discussing.
https://forum.appery.io/
No, I haven't yet. I'll post back here if I figure it out.
Put the alert(..) back.. we'll try it. Or create a second button with the alert.
I put the alert in the custom javascript for the request mapping of the IPAddress parameter. I haven't tried sticking it with a button.
Can you show where exactly where you put the alert (with a screen shot)?
You need to add:
return value;
otherwise, nothing is returned.
Is the return statement there by default? I thought I could remove everything from the custom javascript and then it would behave like I never touched it.
In any case, you've fixed the problem for me. Thanks.
Yes, if the function is empty then it will do a return of the value by default. But if you write any code, I think you need to have a return statement. I need to double check, but I don't there there is a default return in such case.
I see. That will be good to know for the future. Thanks again for your help.