Server Validation wiping form field data, despite having value set to ValidatedField and Recordset value?
http://www.sportsmedicalcertificates.com/health-screening-form.php?tab1=1
If you complete Step 1 in the above form, it saves to database as an INSERT. Every other Step, 2-5, is then an UPDATE.
I have different Server Validations for each Step.
If you complete Step 1 you are taken to Step 2 by default. However, if at that stage you decide to complete Step 4 and the validation at Step 4 fails, it is wiping all of the values from all of the other form fields. Try selecting "Yes" for one of the questions in Step 4 but then not entering any information in the textarea below. ...then, when the validation fails, click on the Step 1 tab.
Yet, all of the fields in Step 1 have the following value (this is the FirstName field):
value="<?php echo(isset($_GET['v'])?ValidatedField("healthscreeningform_984","FirstName"):$rsEDITFORM->getColumnVal("SMCformFIRST")) ?>"
Why is this happening?
FTP details provided below.
Thank you.
NJ