Hi Jason
Thanks for the reply.
Because it is part of a WA Framework I cannot use the Body Tag. The javascript is sat down towards the bottom of the page so that it executes after the page has populated.
It is a strange one because if both Select Lists are populated then it remembers the values. If only one is populated and the validation fails due to the menutext text field not being populated then neither get their values.
There is definitely server validation on _setnav1.php. Here it is copied from the file:
<?php
if ("" == "") {
$WAFV_Redirect = "new.php?fail=1";
$_SESSION['WAVT_new_692_Errors'] = "";
if ($WAFV_Redirect == "") {
$WAFV_Redirect = $_SERVER["PHP_SELF"];
}
$WAFV_Errors = "";
$WAFV_Errors .= WAValidateRQ(((isset($_POST["menutext"]))?$_POST["menutext"]:"") . "",true,1);
$WAFV_Errors .= WAValidateRQ(((isset($_POST["category"]))?$_POST["category"]:"") . "",true,2);
$WAFV_Errors .= WAValidateRQ(((isset($_POST["page"]))?$_POST["page"]:"") . "",true,3);
if ($WAFV_Errors != "") {
PostResult($WAFV_Redirect,$WAFV_Errors,"new_692");
}
}
?>
Cheers
Ian
EDIT : Having just downloaded the ZIP file I posted earlier you are absolutely right. The Server Validations don't appear! But the above is what is in my PHP file where I still have the same problem and I have reattached! Not sure where they came from??