Hi,
I have made a form with all fields are required
On my server Chronoform V4 don't work for validation field while work on my local pc.
The error message is not visualized.
When i submit the request, the site show the home page even if the fields are empty.
I don't understand what it doesn't worked
This is HTML Code generated:
<div class="ccms_form_element cfdiv_header" id="autoID-d3a8fa6e9ae05077e42a4da111b80e90_container_div">MODULO DI PRE-ISCRIZIONE CISL CULTURA<div class="clear"></div></div><div class="ccms_titolo">ISCRITTO</div><p></p><div class="ccms_articolo">DESCRIZIONEISCRIZIONE</div><div class="ccms_form_element cfdiv_text" id="cognome_container_div"><label for="cognome">COGNOME</label><input id="cognome" maxlength="20" size="20" class=" validate['required','alpha']" title="" type="text" value="" name="cognome" />
<div class="clear"></div><div id="error-message-cognome"></div></div><div class="ccms_form_element cfdiv_text" id="nome_container_div"><label for="nome">NOME</label><input id="nome" maxlength="20" size="20" class=" validate['required','alpha']" title="" type="text" value="" name="nome" />
<div class="clear"></div><div id="error-message-nome"></div></div><div class="ccms_form_element cfdiv_text" id="codice_fiscale_container_div"><label for="codice_fiscale">CODICEFISCALE</label><input id="codice_fiscale" maxlength="16" size="20" class=" validate['required','alphanum']" title="" type="text" value="" name="codice_fiscale" />
<div class="clear"></div><div id="error-message-codice_fiscale"></div></div><div class="ccms_form_element cfdiv_radio" id="sesso_container_div"><label for="sesso">SESSO</label><input type="hidden" name="sesso" value="" alt="ghost" />
<div style="float:left; clear:none;"><input type="radio" name="sesso" id="sesso_m" title="" value="M" class="validate['required']" />
<label for="sesso_m">M</label>
<input type="radio" name="sesso" id="sesso_f" title="" value="F" class="validate['required']" />
<label for="sesso_f">F</label>
</div><div class="clear"></div><div id="error-message-sesso"></div></div><div class="ccms_form_element cfdiv_datetime" id="data_nascita_container_div"><label for="data_nascita">DATANASCITA</label><input id="data_nascita" maxlength="10" size="10" class="cf_date_picker validate['required','target:data_nascita_clone_id'] cf_date_picker" title="" type="text" value="" name="data_nascita" />
<div class="clear"></div><div id="error-message-data_nascita"></div></div><div class="ccms_form_element cfdiv_select" id="select_comune_nascita_container_div"><label for="select_comune_nascita">PROVINCIANASCITA</label><select size="1" id="select_comune_nascita" class=" validate['required']" title="" name="provincia_nascita">
<option value="">Selezionare una provincia...</option>
<option value="" selected="selected"></option>
</select>
<div class="clear"></div><div id="error-message-provincia_nascita"></div></div><div class="ccms_form_element cfdiv_select" id="select_comune_nascita_container_div"><label for="select_comune_nascita">COMUNENASCITA</label><select size="1" id="select_comune_nascita" class=" validate['required']" title="" name="comune_nascita">
<option value="">Selezionare un comune...</option>
<option value="" selected="selected"></option>
</select>
<div class="clear"></div><div id="error-message-comune_nascita"></div></div><div class="ccms_form_element cfdiv_text" id="indirizzo_container_div"><label for="indirizzo">INDIRIZZO</label><input id="indirizzo" maxlength="50" size="50" class=" validate['required','alphanum']" title="" type="text" value="" name="indirizzo" />
<div class="clear"></div><div id="error-message-indirizzo"></div></div><div class="ccms_form_element cfdiv_select" id="select_provincia_indirizzo_container_div"><label for="select_provincia_indirizzo">PROVINCIAINDIRIZZO</label><select size="1" id="select_provincia_indirizzo" class=" validate['required']" title="" name="provincia_indirizzo">
<option value="">Selezionare una provincia...</option>
<option value="" selected="selected"></option>
</select>
<div class="clear"></div><div id="error-message-provincia_indirizzo"></div></div><div class="ccms_form_element cfdiv_select" id="select_comune_indirizzo_container_div"><label for="select_comune_indirizzo">COMUNEINDIRIZZO</label><select size="1" id="select_comune_indirizzo" class=" validate['required']" title="" name="comune_indirizzo">
<option value="">Selezionare un comune...</option>
<option value="" selected="selected"></option>
</select>
<div class="clear"></div><div id="error-message-comune_indirizzo"></div></div><div class="ccms_form_element cfdiv_text" id="cap_container_div"><label for="cap">CAP</label><input id="cap" maxlength="5" size="5" class=" validate['required','number']" title="" type="text" value="" name="cap" />
<div class="clear"></div><div id="error-message-cap"></div></div><div class="ccms_form_element cfdiv_text" id="nazionalita_container_div"><label for="nazionalita">NAZIONALITA</label><input id="nazionalita" maxlength="20" size="20" class=" validate['required','alpha']" title="" type="text" value="" name="nazionalita" />
<div class="clear"></div><div id="error-message-nazionalita"></div></div><div class="ccms_form_element cfdiv_text" id="mail_container_div"><label for="mail">EMAIL</label><input id="mail" maxlength="20" size="20" class=" validate['required','email']" title="" type="text" value="" name="mail" />
<div class="clear"></div><div id="error-message-mail"></div></div><div class="ccms_form_element cfdiv_radio label_over" id="autorizzazione_dati_container_div"><label for="autorizzazione_dati">AUTORIZZAZIONEDATI</label><div style="float:left; clear:none;"><input type="radio" name="autorizzazione_dati" id="autorizzazione_dati_yes" title="autorizzazione_dati" value="Yes" checked="checked" class="validate['required']" />
<label for="autorizzazione_dati_yes">Yes</label>
<input type="radio" name="autorizzazione_dati" id="autorizzazione_dati_no" title="autorizzazione_dati" value="No" class="validate['required']" />
<label for="autorizzazione_dati_no">No</label>
</div><div class="clear"></div><div id="error-message-autorizzazione_dati"></div></div><div class="ccms_form_element cfdiv_radio label_over" id="autorizzazione_territorio_container_div"><label for="autorizzazione_territorio">AUTORIZZAZIONETERRITORIO</label><div style="float:left; clear:none;"><input type="radio" name="autorizzazione_territorio" id="autorizzazione_territorio_yes" title="" value="Yes" checked="checked" class="validate['required']" />
<label for="autorizzazione_territorio_yes">Yes</label>
<input type="radio" name="autorizzazione_territorio" id="autorizzazione_territorio_no" title="" value="No" class="validate['required']" />
<label for="autorizzazione_territorio_no">No</label>
</div><div class="clear"></div><div id="error-message-autorizzazione_territorio"></div></div><div class="ccms_form_element cfdiv_text" id="telefono_container_div"><label for="telefono">TELEFONO</label><input id="telefono" maxlength="15" size="15" class=" validate['required','phone','phone_inter']" title="" type="text" value="" name="telefono" />
<div class="clear"></div><div id="error-message-telefono"></div></div><div class="ccms_form_element cfdiv_text" id="chapta_container_div"><label for="chapta">CHAPTA</label><input id="chapta" maxlength="5" size="5" class="chrono_captcha_input validate['required']" title="" type="text" value="" name="chrono_verification" />
{chronocaptcha_img}<div class="small-message">ISTRUZIONECHAPTA</div><div class="clear"></div><div id="error-message-chrono_verification"></div></div><div class="ccms_form_element cfdiv_submit" id="submit_container_div"><input name="submit" id="submit" class="" value="SUBMIT" type="submit" />
<div class="clear"></div><div id="error-message-submit"></div></div>
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 Carlo,
You have two different versions of MooTools loading on your page. You need to remove 1.12
Bob
Hi...
Thanks for your interest.
I have installed all site... in local the form work and show the error message.
I have installed the plugin "Upgrade Mootools" setting the versions 1.2 for admin and for site.
Nothing...the error messages are not visualized on server
I ask you how I can verificed how many versions of mootools turn in the page.
It's interesting to know how to understand in local if they turn the same two versions
If you cannot tell me how, can you verify you for the last time on server ?
Thanks again.
Found problems.
Now work.
Thanks
Hi nicemotion,
There are JavaScript errors on the page, both from the DJ menu.
Bob
Thank you for yr prompt reply GreyHead.
I'll check and revert
Nik