I'm working directly in code, not the wizard, and reusing code from a previous year's registration form. None of the required fields work. Can you tell me what the code for that is supposed to be? I'm seeing class="req" for that form field. Should there be anything else?
Forums
Required fields don't work
Hi katandmouse,
I don't think that ChronoForms ever used class='req' ?
Which version of ChronoForms are you using?
You can find the version from Site Admin | Extensions | Install/Uninstall | Components in Joomla! 1.5 or Site Admin | Extensions | Extension Manager | Manage in Joomla! 1.6/1.7/2.5.
Bob
I don't think that ChronoForms ever used class='req' ?
Which version of ChronoForms are you using?
You can find the version from Site Admin | Extensions | Install/Uninstall | Components in Joomla! 1.5 or Site Admin | Extensions | Extension Manager | Manage in Joomla! 1.6/1.7/2.5.
Bob
Thanks again Bob. You're always there with the answers.
I actually don't know how you mark them as required. In the past I've gone through the wizard in order to see the code to see how you do it. I didn't want to go through that, so assumed the existing code was correct. All I see there is a class. From what you say that is incorrect.
So what is the code/attribute I need to make it recognized as required so I don't have to set up a test form with the wizard? It would be good to add this to your help file. I couldn't find it there.
I actually don't know how you mark them as required. In the past I've gone through the wizard in order to see the code to see how you do it. I didn't want to go through that, so assumed the existing code was correct. All I see there is a class. From what you say that is incorrect.
So what is the code/attribute I need to make it recognized as required so I don't have to set up a test form with the wizard? It would be good to add this to your help file. I couldn't find it there.
Hi katandmouse,
Which version of ChronoForms are you using?
You can find the version from Site Admin | Extensions | Install/Uninstall | Components in Joomla! 1.5 or Site Admin | Extensions | Extension Manager | Manage in Joomla! 1.6/1.7/2.5.
Bob
Which version of ChronoForms are you using?
You can find the version from Site Admin | Extensions | Install/Uninstall | Components in Joomla! 1.5 or Site Admin | Extensions | Extension Manager | Manage in Joomla! 1.6/1.7/2.5.
Bob
It says 4.0 RC3.4.1 but I installed a new version so now there are two. I'm using the older one, whatever that one is.
Hi katandmouse,
Both versions will be listed. I'll assume that you are using CFv3.2 - in that case the email setting is class='required' but make sure that there is only one class attribute set on the input e.g.
Bob
Both versions will be listed. I'll assume that you are using CFv3.2 - in that case the email setting is class='required' but make sure that there is only one class attribute set on the input e.g.
<input type="text" name="email" id="email" title="" size="30" maxlength="150" class="cf_inputbox required validate-email">
Bob
This topic is locked and no more replies can be posted.