Hey,
Question came up regarding making some form pick mandatory. Like checkboxes for - Visa, Mastercard, or Check by mail. As a client received a form response with none checked.
What makes things mandatory?
Thoughts? Help?
you will need to use the one-required validation option at the validation tab, write there the checkbox name!
Cheers
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Do I need to "Enable Validation" first?
I put this in - then saved, then filled out the form - but it did not make me go back to fix?
I turned on Validation and it worked... HOW do I style the Warning Message?
Hi, yes you need to enable validation first, did you do this ?
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
at your css :
.validation-advice{
font-weight:bold;
color:#ff0000;
}
or may be try to edit this CSS between style tags in the form code itself and see if it will work ?
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Oh - so I may just have to add the style... you all went ahead and named it... I get it. I'll try it...
That seemed to work well -
but now I have another issue I'm waiting on confirmation on.
The person with whom the email form goes too went and tried the form without filling out the creadit card information.
Surprisingly - it DID NOT return a warning to her. I am waiting for an IT person on their end to try it.
But in the meantime - would there be anything that stands out to you as to why this might happen?
Thanks
Hi cb1,
What is the code for the credit card field? and what validation is set on it?
Bob
Hi cb1,
Tested in FF and the validation appears to work perfectly?
There is no validation on the Credit card field itself.
Bob
PS You probably need to delete the second form tag with the 'webbot' code as multiple form tags often cause problems.
Thanks Grey...
It works for me too... do you have AnY idea why it might not be working internally?
I will ask about the other form code - I did not create the form and don't know if there is something I should not touch in it.
Hi cb1,
There should be no difference between an internal and an external test.
I suggest that you double-check what the problem is - could be that they are checking the credit card field, not the check-boxes.
Bob
Hey,
I have duplicated the problem...
it seems to NOT be working correctly - meaning it submits the form WITHOUT prompting the choice of a credit card or check - in IE7 browser and IE6 browser - both on the PC.
Thoughts?
Hi cb1,
FireBug shows a JavaScript error from the Google Maps code. You don't seem to have a map on the form page so I'd suggest disabling this here and see if that removes the problem. A JavaScript conflict is the most likely cause of this kind of validation inconsistency.
You might also try switching the validation library from Prototype to MooTools in case this is a conflict between the Google Maps and Prototype libraries.
Bob