I am brand new to Chronoforms and just got my first form working. The only problem I have is I Don't know how to create two form items that have to be the same to work. Like a password field that needs to be the same before submitted or email/confirm e-mail fields that need to be the same before the user hits submit.
I also need the form to display a message if the two corresponding fields aren't the same.
Hi aod2006,
you can do this with JS, show me the 2 fields html you have!
Cheers
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Hi,
lets do this, #1- in the "form tag attachement" field in the genral tab, add :
onSubmit="return Validate()"
#2- at the JS box, add :
function Validate(){
if(document.getElementById('text_13').value != document.getElementById('text_15').value){
alert('Your passwords do not match');
return false;
}else{
return true;
}
}
let me know!
Regards
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.