required validation not working

ronaldHome 27 Jan, 2014
Answer
Hi,
I'm trying hard to make things working but i've not yet been able to get the error.

I've read in the forum about some jquery issue but i'm not able to find any documentation😟 and the demo built-in forms seems to work just fine.

Thanks in advance

Here's my form:
http://prorad.it/index.php?option=com_chronoforms5&chronoform=Corso%20di%20formazione%20semplice

Here's the form code

<div class="form-group gcore-form-row" id="form-row-2"><label for="nome" class="control-label gcore-label-left">Nome</label>
<div class="gcore-input gcore-display-table" id="fin-nome"><input name="nome" id="nome" value="" placeholder="" maxlength="" size="" class="validate['required'] form-control A" title="" style="" data-inputmask="" type="text" /></div></div><div class="form-group gcore-form-row" id="form-row-4"><label for="cognome" class="control-label gcore-label-left">Cognome</label>
<div class="gcore-input gcore-display-table" id="fin-cognome"><input name="cognome" id="cognome" value="" placeholder="" maxlength="" size="" class="validate['required','alpha'] form-control A" title="" style="" data-inputmask="" type="text" /></div></div><div class="form-group gcore-form-row" id="form-row-6"><label for="fld5" class="control-label gcore-label-left">Informativa sul trattamento dei dati personali</label>
<div class="gcore-input gcore-display-table" id="fin-fld5"><p>Segnaliamo ai sensi dell ' art. 13 D. Lgs. 196/2003, sulla tutela dei dati personali, che i dati forniti da ciascun utente all ' atto della registrazione al nostro Portale, o comunque forniti in occasione di collegamenti o comunicazioni, verranno trattati in forma elettronica per finalità tecniche o amministrative connesse alla gestione del Portale stesso e l ' invio di materiale promozionale inerente alle attività organizzate dall ' Assocazione ProRad. I dati non saranno in alcun caso comunicati, diffusi o distribuiti a terzi. La registrazione alle attività di questo Portale e l'\'invio di qualsiasi dato personale implicano manifestazione di consenso al trattamento dei dati forniti per le finalità sopra indicate. L'eventuale espresso diniego di consenso al trattamento di dati che dovessero risultare essenziali per la partecipazione alle attività del Portale potrà comportare l'impossibilità di ammissione alle attività di didattica previste del Portale stesso o di prosieguo nella relativa partecipazione.</p></div></div><div class="form-group gcore-form-row" id="form-row-7"><label for="accetto" class="control-label gcore-label-top gcore-label-checkbox">Ho letto e accetto i termini di trattamento dei dati personali</label>
<div class="gcore-input-wide gcore-display-table" id="fin-accetto"><input name="accetto" id="accetto" value="1" class="validate['required'] A" title="" style="" type="checkbox" /></div></div><div class="form-group gcore-form-row" id="form-row-13"><label for="fld8" class="control-label gcore-label-left">Captcha</label>
<div class="gcore-subinput-container-wide" id="fitem10"><div class="gcore-input pull-left gcore-sub-input gcore-display-table" id="fin-fld9"><input placeholder="" maxlength="" size="" class="validate['required'] form-control A" title="" style="" type="text" name="captcha" id="fld9" /></div></div>
<div class="gcore-subinput-container-wide" id="fitem12"><div class="gcore-input pull-left gcore-sub-input gcore-display-table" id="fin-fld11">{captcha_img}</div></div></div><div class="form-group gcore-form-row" id="form-row-14"><div class="gcore-input gcore-display-table" id="fin-invia"><input name="invia" id="invia" type="submit" value="Invia" class="form-control A" style="" /></div></div>
GreyHead 27 Jan, 2014
Hi ronaldHome,

Please try turning off the rokBooster (or exclude the ChronoForms files from it). It breaks the ChronoForms JavaScript - I think it changes the order in which the files load :-(

Bob
ronaldHome 27 Jan, 2014
Hi!
First of all thanks for the quick response!
I tried but nothing..
The weird thing is this: my form won't work and your demo work!
If you try to just hit submit on the following forms you'll see that in mine the required fields are ignored

http://prorad.it/index.php?option=com_chronoforms5&chronoform=Corso+di+formazione+semplice&event=submit
http://prorad.it/index.php?option=com_chronoforms5&chronoform=demo-multi-field-contact-secured
GreyHead 27 Jan, 2014
Hi RonaldHome,

Found it, your form name has spaces in it, that's not valid HTML and it breaks the validation, Please try changing the name to e.g. Corso_di_formazione_semplice

Bob
ronaldHome 27 Jan, 2014
hi!
I tried and it works! thanks!!
This topic is locked and no more replies can be posted.