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
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
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
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
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
Ciao Bob, grazie ancora della tua infinita pazienza ma ho un problema.
Ho inserito questo codice:
e la pagina è questa:http://www.escogitoprogetto.it/index.php?option=com_chronoforms&chronoform=ArredoAbitazione1
ma sembra che non funzioni, dove sbaglio?
Grazie
Ho inserito questo codice:
<td><input type="text" class="validate['required','email']" name="Email" />*</td>
e la pagina è questa:http://www.escogitoprogetto.it/index.php?option=com_chronoforms&chronoform=ArredoAbitazione1
ma sembra che non funzioni, dove sbaglio?
Grazie
Ciao stefano,
The problem is the RocketTheme script compressor RokGZipper; it is beta code and breaks the scripts that ChronoForms needs. Please turn it off.
Bob
The problem is the RocketTheme script compressor RokGZipper; it is beta code and breaks the scripts that ChronoForms needs. Please turn it off.
Note: This plugin is experimental and should be used at your own risk. You should not use the plugin during development stage and should only activate it on a finalised site.
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?
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
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
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
Hi stefano,
Because an un-checked checkbox doesn't return anything when the form is submitted ChronoForms doesn't know that it is supposed to have a value. Use the existing Custom Code action if there is one or, if not, drag a Custom Code action into the OnSubmit event and move it up to before the Email event.
Add this to the code box
Bob
Because an un-checked checkbox doesn't return anything when the form is submitted ChronoForms doesn't know that it is supposed to have a value. Use the existing Custom Code action if there is one or, if not, drag a Custom Code action into the OnSubmit event and move it up to before the Email event.
Add this to the code box
<?php
$input_file_6 = JRequest::getString('input_file_6', 'NO', 'post');
$form->data['input_file_6'] = $input_file_6;
?>
This will set the value of input_file_6 to NO if it hasn't been set in the form results.Bob
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
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!
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 rosalberuccia,
Please see the video below.
Bob
[flash=640,360]http://www.youtube.com/v/IklglmjkEKg[/flash]
There are more videos here that will help you get started with CFv4.
Please see the video below.
Bob
[flash=640,360]http://www.youtube.com/v/IklglmjkEKg[/flash]
There are more videos here that will help you get started with CFv4.
I' ve already seen it and done but it doesn't work!
Check this link: http://www.cogpsy.it/index.php?option=com_chronoforms&chronoform=Questionario
I created the form as the video showed. I set the validation "required" but when I ve tried it.. it doesn't work! What's wrong? Could be the template I use incompatible with chronoforms?
Check this link: http://www.cogpsy.it/index.php?option=com_chronoforms&chronoform=Questionario
I created the form as the video showed. I set the validation "required" but when I ve tried it.. it doesn't work! What's wrong? Could be the template I use incompatible with chronoforms?
I have what seems like the same problem, click submit and the form saves blank form even though fields are required, please advise
see attachment for settings, below is a small section of the code showing the fields are required.
check the form at
http://www.asisaudi.com/index.php/mensggsf
auto generated code
see attachment for settings, below is a small section of the code showing the fields are required.
check the form at
http://www.asisaudi.com/index.php/mensggsf
auto generated code
<div class="ccms_form_element cfdiv_text" id="autoID-631557039b785f757fbb805a5f8ebc99_container_div"><label>Full Name</label><input maxlength="200" size="30" class=" validate['required','alpha']" title="" type="text" value="" name="input_text_0" />
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:
Then test the form in the new page, if the validation works then there is something wrong at your end.
Regards,
Max
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
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.
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
Regards,
Max
Hello,
I have tried adding
http://www.asisaudi.com/index.php/mensggsf/&tmpl=component
Please advise
Thank you
I have tried adding
&tmpl=component
to my url and my validation still does not workhttp://www.asisaudi.com/index.php/mensggsf/&tmpl=component
Please advise
Thank you
Hi aliranyah,
The query string needs to start with ? not & for the first item e.g. ?param1=value1¶m2=value2¶m3=value3
Bob
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?
This topic is locked and no more replies can be posted.