[attachment=0]ChronoForm01.zip[/attachment]Hi,
got a form working and want to add some validation.
My onSubmit is confirated as follows (see attachment):
On Submit
Customer Server Side validation (chkTeamResults.php)
OnSuccess
Custom Code (putTeamResults.php)
OnFail
Event Loop (with default settings)
chkTeamResults.php
Have only the bear minimum to start testing:
Field "p1" exist in the form.
When the form submit is requested the form is not shown again nor the error is displayed.
What could be wrong here?
got a form working and want to add some validation.
My onSubmit is confirated as follows (see attachment):
On Submit
Customer Server Side validation (chkTeamResults.php)
OnSuccess
Custom Code (putTeamResults.php)
OnFail
Event Loop (with default settings)
chkTeamResults.php
<?php
$form->validation_errors['p1'] = "test error";
return false;
?>
Have only the bear minimum to start testing:
Field "p1" exist in the form.
When the form submit is requested the form is not shown again nor the error is displayed.
What could be wrong here?