<input id="username" name="user.username" type="text" />
<input id="user.username" name="user.username" type="text" />
Okay, I've worked it out. I *was* doing it wrong! This works for me...
On Monday, May 28, 2012 10:48:26 AM UTC+1, Richard Herbert wrote:I'm using John Whish's ColdBox interceptor adaptation of Brian Kotek's fine FormUtilities and VT works fine for the server-side validation but it failing on the client-side.I'm guessing this is due to the fact that VT targets the input name attribute, as in name="user.username" and jQuery needs the period to be escaped with a double-backslash to be able to "see" it.I've now found the clientfieldname attribute but that doesn't seem to help...
<property name="username" clientfieldname="username" desc="Username"><rule type="required" contexts="*" failuremessage="A Username is required" /></property>...and...<input id="username" name="user.username" type="text" />Am I doing it wrong?
Richard
--To view this discussion on the web visit https://groups.google.com/d/msg/validatethis/-/rOnKGgM0ouYJ.
You received this message because you are subscribed to the Google Groups "ValidateThis" group.
To post to this group, send email to valida...@googlegroups.com.
To unsubscribe from this group, send email to validatethis...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/validatethis?hl=en.
To unsubscribe from this group, send email to validatethis+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/validatethis/-/2_-fvwW8-1AJ.
To unsubscribe from this group, send email to validatethis...@googlegroups.com.