Hi,
I want to register and dispose of input that is showing when a user is clicking a button in js with the load js on load in Chronoforms v4.
I've already got everything works and adding class validate['required'], but because the classes where adding after the js there are not register for checkForm.
so I've try using
In some forum I've seen that we must do formCheck_Form_Name so I've try :
my form html is defined by this
When checking in the chrome browser inspector it is always tell me :
Uncaught ReferenceError: formCheck is not defined.
So I don't know what to do. Maybe I've got to formcheck = new FormCheck('form_id'); like saying in the MooTools documentation, but it should be already been defined somewhere.
What name and where should I find the form name or ID to use for the register and dispose?
I want to register and dispose of input that is showing when a user is clicking a button in js with the load js on load in Chronoforms v4.
I've already got everything works and adding class validate['required'], but because the classes where adding after the js there are not register for checkForm.
so I've try using
formCheck.register(Enseignant);
FormCheck.register(Enseignant);
In some forum I've seen that we must do formCheck_Form_Name so I've try :
FormCheck_enseignant_date_enregistrement.register(Enseignant);
formCheck_enseignant_date_enregistrement.register(Enseignant);
FormCheck_enseignant-date-enregistrement.register(Enseignant);
formCheck_enseignant-date-enregistrement.register(Enseignant);
my form html is defined by this
<form action="http://www.groupes.polymtl.ca/defiduprofesseurpolynume/index.php/inscription?chronoform=enseignant-date-enregistrement&event=submit" name="enseignant-date-enregistrement" id="chronoform_enseignant-date-enregistrement" method="post" class="Chronoform"> <div class="ccms_form_element cfdiv_text" id="input_ecole_nom1_container_div" style=""><label>Nom de l'école</label><input maxlength="150" size="30" class="input_Ecole_Nom validate['required','alpha']" title="" type="text" value="" name="input_ecole_nom"></form>
When checking in the chrome browser inspector it is always tell me :
Uncaught ReferenceError: formCheck is not defined.
So I don't know what to do. Maybe I've got to formcheck = new FormCheck('form_id'); like saying in the MooTools documentation, but it should be already been defined somewhere.
What name and where should I find the form name or ID to use for the register and dispose?