search for: clear_field

Displaying 1 result from an estimated 1 matches for "clear_field".

Did you mean: clear_fields
2010 Aug 30
9
Validates numericality issue
Hello everyone I have a problem in my app with the validation on numericality. The field should be all numbers, and if an user types for example "12345abc" into the field an error is raised and the data is not saved. But in the field where the error was raised it now says "12345", I want this field to be blank instead. What is the best way to go about doing this? Thanks in