I created a custom form but I do not understand how to ensure that there is validation in the various fields.
Who can help me?
Thank you very much
stefano
Hi stefano,
There are a series of checkboxes on the Validation tab in the Wizard Element configuration. Or you can add the classes directly to Custom Form HTML e.g. class="validate['required','email']
Bob
Hello Bob and thank you for your response but I have a form created by me and not through the wizard.
And I did not understand where should I put this code class = "validate ['required ', 'email']
I entered the edit form by clicking on Wizard and then what should I do?
thank you very much
stefano
Hi stefano,
Click on the Form Name link in the forms manager, then the Code tab and you can add the classes to the Form HTML from there.
There isn't an automated way to add validation to a custom form at the moment.
Bob
Thanks you're a genius .... two questions:
Where can I find the language file to customize the errors?
You can make the error to appear when the focus leaves the field in question?
Hi Stefano,
You can set the language of the error messages and set them to appear onBlur as well as onSubmit. Click the Form Name link in the Forms Manager and then the JS Validation tab.
I don't recommend that you edit the files directly (they will be over-written when you upgrade ChronoForms) but you can use the 'title' attribute in the input tags to set a custom message.
Bob
Amazing.....😀
Last thing, I have a field type = "checkbox" and when it comes to email if you have selected to get there:
Attachment: YES
but in case you have not selected to get there:
Attached File: {input_file_6}
Can I make additions:
Attachment: NO
wonderfull :mrgreen:
I confirm that ChronoForms is the best form ever present in the JED and the forum is absolutely the best around anywhere.
Compliments
stefano
Hi! I have just started to use chronoforms v4 on joomla 1.7 and I have a problem... I can not enable the validation on the form.
I created a form in easy mode. I don't know if my question is clear,isn't it?
Could anyone help me?
Thanks a lot!
Hi,
If the validation doesn't work then the easiest way to find out if there is a conflict between your template, some module or some plugin installed on your website and the core Mootools library (used by Chronoforms for validation) is to add this to the form URL:
&tmpl=component
Then test the form in the new page, if the validation works then there is something wrong at your end.
Regards,
Max
Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?
Hello Admin,
I have same problem. I have added the above code to my form URL, with same result that my form submits without insisting on required fields. are there any other known issues that could be wrong? Would appreciate your assistance in this regard.
Please send me the form link through the "Contact Us" page.
Regards,
Max
Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?
Hi aliranyah,
The query string needs to start with ? not & for the first item e.g. ?param1=value1¶m2=value2¶m3=value3
Bob
I created another form and it worked, but already wasted countless hours on that form - is there any way to determine whats wrongs with the form?
Hi aliranyah,
Please take a Form Backup using the icon in the Forms Manager and post it here (as a zipped file) or PM or email it to me and I'll take a closer look.
Bob