Forums

Built-In Validation Not Working - SOLVED

lukacst 20 Aug, 2008
Under menu 'Components' -> 'Chrono Forms' -> 'Forms Management' -> (select form) -> 'Validation Tab' -> 'Enable Validation = Yes' -> (entered a 'zip' field to be validated - digits).

Validation then fails (no validation message). Am I missing something?

Joomla version 1.0.12, chronoforms 2.3
tullski 20 Aug, 2008
First you have to put the fieldname in
1 - required (not blank)

and then in the other one...
lukacst 20 Aug, 2008
Entered field name in both 'required' and 'digit' (checking a 5 digit zip code), entered 'xxxx' in field, still no validation. I am testing by clicking the form link from within the component interface.

Thanks for the prompt reply.

Later,
GreyHead 20 Aug, 2008
Hi lukacst,

Is your site on-line so that I can take a look at the form page?

The most likely explanation is that you have a JavaScript conflict with something else on the page - but impossible to diagnose without more info.

Bob
Max_admin 20 Aug, 2008
Hi,

remove the class attributes from the input tags and it should work!
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
lukacst 20 Aug, 2008
I implemented this on localhost, worked fine. I implemented on live site and when I click this link in the component interface ' index.php?option=com_chronocontact&chronoformname=EventRegistration' worked fine. However when I preview the site, and try it on http://reachdrs.com/for-fertility-patients/event-registration.html, doesn't work. Looked at page source and updates are there, so I'm still stuck.
GreyHead 20 Aug, 2008
Hi lukast,

I just replied to your other post on this.

Bob
chronouser55 28 Oct, 2008
I had the same problem of my validation not working. I had an open paragraph <p> tag. I closed it </p> and the validation works now.
Max_admin 28 Oct, 2008
Thanks for posting this tip!
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
This topic is locked and no more replies can be posted.