Closed (fixed)
Project:
Clientside Validation
Version:
6.x-1.32
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
25 Oct 2012 at 11:00 UTC
Updated:
30 Nov 2012 at 14:40 UTC
I was trying to use a numeric rule to validate a form field, but kept getting the following unhelpful message in the browser with invalid entries:
Use only numbers at %field.
It seems that only some types of validation substitute %field with the name of the field, so the attached patch changes behaviour so %field is always substituted with the name of the field, which corrects the above message to;
Use only numbers at Survey ID.
| Comment | File | Size | Author |
|---|---|---|---|
| clientside_validation_fapi-message.patch | 1.78 KB | Kevin Rogers |
Comments
Comment #1
attiks commentedComment #2
jelle_sFixed in latest dev. Thanks for the patch!