Hi admin, let me resume the story:
I think i have version 2.2.1, i can't tell, cause the directory is not available to me.
I hve about 3 forms configured.
This last form i made was working ok, sending copies to 2 e-mail fields that existed, etc.
Then my boss wanted some fields to be mandatory, so i put a javascript valiation for some fields:
function checkForm(form)
{
valid = true;
if(form.nome.value == ""«»)
{
alert("Por favor, introduza o seu nome!"«»);
return false;
}
if(form.empresa.value == ""«»)
{
alert("Por favor, introduza a empresa!"«»);
return false;
}
if(form.telefone.value == ""«»)
{
alert("Por favor, introduza o telefone!"«»);
return false;
}
if(form.email.value == ""«»)
{
alert("Por favor, introduza o seu e-mail!"«»);
return false;
}
if(form.mail_ti.value == ""«»)
{
alert("Por favor, introduza o email do responsável de TI!"«»);
return false;
}
if(form.servico.selectedIndex == 0)
{
alert("Por favor, escolha um serviço"«»);
return false;
}
if(form.problema.selectedIndex == 0)
{
alert("Por favor, escolha um Problema"«»);
return false;
}
if(form.descricao.value == ""«»)
{
alert("Por favor, descreva o Problema!"«»);
return false;
}
return valid;
}
Now, the validation works, as you can see:
http://www.virtual.pt/index.php?option=com_chronocontact&chronoformname=suporte
but the sending of the copies to those 2 fields, email and mail_ti stoped working.
Do i have to upgrade?
Other ting is, since i installed this version, a couple of months ago, e don't have acess trough ftp to the chronoforms folder. :huh: