Forums

validation field-name

werdewelt 29 May, 2009
There seems to be a bug with the field-names during the validation:

If the field-name contains a "-", such as "e-mail", the validation will not work from this point on.
In my case there were several fields like this:

name (required)
e-mail (required)
website
your info (required)

The validation for "name" worked, but from that point on it didn't work anymore. So the form submitted, even if the fields e-mail and your info have been left blank.

After editing the field-name of "e-mail" to "email" the whole validation worked fine.

It tested it on two different servers, both times with the same behavior of the validation.

Hope this will help some others with the same problem!
Greetings from "werdewelt"🙂

(my version: ChronoForms 3.1 RC5)
GreyHead 29 May, 2009
Hi werdewelt,

Thanks - I knew that hyphens cause problems with the database and so avoid them. Didn't know that there was also a problem with validation.

Bob
This topic is locked and no more replies can be posted.