I tried to use it in an event on one of the forms and nothing happens.
Something like
var allergy = Appery("txtAppergy");
alert(allergy.val());
I tried to use it in an event on one of the forms and nothing happens.
Something like
var allergy = Appery("txtAppergy");
alert(allergy.val());
You don't need to include a reference to Appery.io JS API. It's included in every app automatically. What kind of component 'txtAppergy' is?
It's a textbox.
Check your code and component name. Just tested and it works:
var input = Appery("in");
console.log(input.val());