Page 1 of 1

Javascript Validatation

Posted: Thu Jul 25, 2013 8:17 pm
by Ravi Wayne

Hello,

I am having difficulty with this simple validation function working on a button click event. Any ideas on what might be wrong? Thank you.

var input = Appery('inputUserName');
if (input==null || input=="")
{
alert("User name is required");
return false;
}


Javascript Validatation

Posted: Thu Jul 25, 2013 8:32 pm
by Maryna Brodina

Hello! You would need to debug your code http://docs.appery.io/documentation/a...