⚠ In case you've missed it, we have migrated to our new website, with a brand new forum. For more details about the migration you can read our blog post for website migration. This is an archived forum. ⚠

  •     

profile picture

Validation has errors despite correct input



msquare
  • profile picture
  • Member

Posted 04 March 2013 - 19:14 PM

I have a form which requires an alpha_numeric input. I set the validations and etc., and it flashes an error every time I test it out with an alpha_numeric input. The same problem occurs when I use alpha, numeric, etc. "Required" works fine.
 
A similar problem occurs when I used a callback function for a time input field (If you know a better way to integrate a timepicker, since grocerycrud only has the datepicker, please tell me.). In the callback function, it checks if the hours/minutes is numeric, so I used the is_numeric PHP function. However, the error message I set keeps flashing despite a correct input.
 
 
Thanks in advance for any helpful answers!