WA Validated Entries not populating form fields on validation?
I have an insert form that uses WA Server Validations. When the form is submitted I want the values that the user has entered to remain in the fields so that the user doesn't have to complete the whole form all over again just because one field fails.
So I have the value of the form fields set to the WA Validated Entries values as follows:
value="<?php echo(ValidatedField("addnews_784","newsTITLE")) ?>"
However, when I submit the form all of the form fields are wiped and the user has to start all over again. :( I have $WAFV_Redirect set to the same page with a querystring added so that I can display an overall fail message:
$WAFV_Redirect = "add_news.php?anewsval=1&dID=".((isset($_POST["dID"]))?$_POST["dID"]:"") ."";
...so I know that the validation is working.
I copied this code from another form, which works perfectly, so I'm at a complete loss as to why this isn't working. It's such a large form that I don't want to have to create it from scratch again.
Could you take a look at it and let me know what's going wrong? (attached)
Thank you.
NJ