Forums

How do I check for required fields?

shank 11 Oct, 2007
I have 3 file attachments, and then various radial and fields that I need required to have data in. How do I check for this?
GreyHead 11 Oct, 2007
Hi shank,

Use the latest version of ChronoForms (as there have been some bug-fixes in form validation).

Select the Validation tab for your form, Enable Validation and put a comma separated list of field names in the 'required' field.

In your html code field make sure that you *do not* have any class attributes for fields that you want validated.

Bob
shank 11 Oct, 2007
Do you know to check the version currently running on my server? it seems the latest version on the site is in beta

Also what do you mean by class?

thanks again
GreyHead 11 Oct, 2007
Hi shank,

If your site is Joomla 1.0.x then you should use ChronoForms 2.3.4 from the Download area here.

The 'class' attributes are any "class='somename'" entries in your form field html.

Bob
shank 11 Oct, 2007
hello. I uninstalled my existing chronos 2.3.2 and installed the new version. i dont see any class attributes listed in the field i am trying to validate.

when i click submit, i can see errors on page in my ie status window, but then it continues to send the information and i receive an email
GreyHead 11 Oct, 2007
Hi shank,

Is that now doing what you want?

Bob
shank 11 Oct, 2007
Hello.

No. When I submit an empty form with field validation enabled for one field, in the IE status window it shows errors on page real quick, but continues to submit the page and takes the user to the thank you page. I guess what is the form validation supposed to do? shouldn't it not allow you to submit the form if the field doesn't have any information in it? I tried require checkbox also for one, and that also failed...

failed meaning, it submitted the inforamtion anyway
Max_admin 11 Oct, 2007
Hi Shank,

Doesi t work fine under FF ? Can you post this Page URL please if its online ?

Cheers

Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
shank 12 Oct, 2007
firefix? I meant firefox sorry.
Max_admin 12 Oct, 2007
Shank, Iam sorry I can't open the page right now coz I have some problems browsing too many websites, I will look once fixed😟

Cheers

Max
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.