Hi EricK,
If you want your php script to return true/false only you can change it’s code this way:
if($formData['username'] == 'admin' && $formData['password'] == 'admin123') {
// get the checked state of the checkbox with name - "rememberme". The value could be true -
if($formData['rememberme'] == 'true') {
$response = "true";
}
else
{
$response = "true";
}
}
else {
$response = "false";
}
Please note also that the jqxValidator have to be used for client side validations only.
Best Regards,
Ivailo Ivanov
jQWidgets Team
http://www.jqwidgets.com