Hi,
on my form setup I create a validation section with this code:
and on success and fail section I put a display message; but when I test form and submit the information the message doesn't appeared, why? What can I do for solve this?
The real function of form is: if the event is correct go to page2, if isn't correct go to page3
http://www.ekofocus.it/index.php?option=com_chronoforms5&chronoform=controllo-paese-prova
Thanks
Matteo Fontana
on my form setup I create a validation section with this code:
<?php
if ( $form->data['citta'] == 'Altro' ) {
return 'fail';
} else {
return 'success';
}
?>
and on success and fail section I put a display message; but when I test form and submit the information the message doesn't appeared, why? What can I do for solve this?
The real function of form is: if the event is correct go to page2, if isn't correct go to page3
http://www.ekofocus.it/index.php?option=com_chronoforms5&chronoform=controllo-paese-prova
Thanks
Matteo Fontana