I also have a form with a textbox
When I press on the submit button it needs to call the function that i gave above with the value of the textbox as paramter.
I put this code on the event "OnValidate"
- amnt = input.Number_of_laptops.toLong();
- text = thisapp.amount.getValue(amnt);
- alert(text);
What do I do wrong?
I also just the the event with a standard alert ("test") but It doesn't give me anything.
I want the validation after I pressed on the submit button...