Hi. I created simple form with some fields. User name, User email, Submit logo, etc... And what make all fields are mandatory to fill(so if user send me empty form he must see error like you need enter all fields.. if user write email without @ then he must also see error about it..).
So my form is working but just need this checking. I find 'JavaScript form checking' page and choose add checking. What next? I must add some JavaScript code? How i can add this script? Where i can find this script? Maybe i can see any tutorial about how to do it?
Thank you.
So my form is working but just need this checking. I find 'JavaScript form checking' page and choose add checking. What next? I must add some JavaScript code? How i can add this script? Where i can find this script? Maybe i can see any tutorial about how to do it?
Thank you.
Hi sergeylandar ,
Are you using ChronoForms? Then you can use the Validation settings in the Wizard or the Form Editor.
Bob
Are you using ChronoForms? Then you can use the Validation settings in the Wizard or the Form Editor.
Bob
Yes, i use Chromoforms.
I use validation settings in form editor(i clicked to first check box, then save and apply for this). But when i don't write something in my field i don't see any error, form is working and send me letter.
I use validation settings in form editor(i clicked to first check box, then save and apply for this). But when i don't write something in my field i don't see any error, form is working and send me letter.
Hi sergeylandar,
You you have "Load Chronoforms CSS/JS Files?" set to 'Yes' on the Form Editor | General tab?
Please post a link to the form so we can take a quick look.
Bob
You you have "Load Chronoforms CSS/JS Files?" set to 'Yes' on the Form Editor | General tab?
Please post a link to the form so we can take a quick look.
Bob
yes i loaded js and css.
i checked js stand in: components/com_chromocontact/js
there:
calendar.js
calendar2.js
customclasses.js
jsvalidation2.js version 3.0
livevalidation_standalone.js
mooValidation.js
yes, i choose 'yes' on the Form Editor.
sorry, i can not show url:(
i checked js stand in: components/com_chromocontact/js
there:
calendar.js
calendar2.js
customclasses.js
jsvalidation2.js version 3.0
livevalidation_standalone.js
mooValidation.js
yes, i choose 'yes' on the Form Editor.
sorry, i can not show url:(
I don't see MooTools.js in that folder.
http://mootools.net/download << what exactly i need download there?
http://mootools.net/download << what exactly i need download there?
Hi sergeylandar,
Usually it's loaded by Joomla! from media/system/js/mootools.js
Bob
Usually it's loaded by Joomla! from media/system/js/mootools.js
Bob
media/system/js/mootools.js << i have it
but my required fields still not working:(
any ideas?
but my required fields still not working:(
any ideas?
Hi sergeylander,
Then it's probably a JavaScript with something else in the template. JQuery is the most common problem.
Bob
Then it's probably a JavaScript with something else in the template. JQuery is the most common problem.
Bob
What you recommend to do? How to solve this problem?
Thank you.
Thank you.
Hi sergeylandar ,
Hard to say more without being able to see the page.
I'd add &tmpl=component to the URL to see if the validation works without the template (it often does). Then you need to use something like FireBug for FireFox to debug the page and work out exactly what is happening.
Bob
Hard to say more without being able to see the page.
I'd add &tmpl=component to the URL to see if the validation works without the template (it often does). Then you need to use something like FireBug for FireFox to debug the page and work out exactly what is happening.
Bob
This topic is locked and no more replies can be posted.