Hi Bob,
I have backup and restore a forms in CV5 from a older site to the new site.
In the older site all is good, in the new site the event switcher on a submit check don't fail and go on.
I set a field box called "code", and in the event switcher (on fail I set an event loop with load option) I check this code in this way:[code]<?php
if ($form->data[code] == prova1234) {
}
else if ($form->data[code] == prova5678) {
}
else if ($form->data
In the new site, if I write random digit, the form go on without error.
There is a problem with backup and restore?
Thanks, saddys
I have backup and restore a forms in CV5 from a older site to the new site.
In the older site all is good, in the new site the event switcher on a submit check don't fail and go on.
I set a field box called "code", and in the event switcher (on fail I set an event loop with load option) I check this code in this way:[code]<?php
if ($form->data[code] == prova1234) {
}
else if ($form->data[code] == prova5678) {
}
else if ($form->data
== prova5555) {
}
else {
$form->errors[] = "Il codice è errato o inesistente!";
return "fail";
}
?>
Now, in the older site when I write in the form a different code, i get the error when click on submit.
In the new site, if I write random digit, the form go on without error.
There is a problem with backup and restore?
Thanks, saddys