Post of Server Validation Page
Thanks so much for answering, particularly in light of the new fee-based support ticket system.
Here is the URL for the page I'm working with: Server_Validations.php
If "post back a copy of the page" you mean provide the source code, I tried sending, but too many characters, so below is the PHP that appears before the DOCTYPE and the code for the form up to the "name" field to be validated.
========================
<?php require_once("../WA_ValidationToolkit/WAVT_Scripts_PHP.php"); ?>
<?php require_once("../WA_ValidationToolkit/WAVT_ValidatedForm_PHP.php"); ?>
<?php
if ($_SERVER["REQUEST_METHOD"] == "POST") {
$WAFV_Redirect = "";
$_SESSION['WAVT_ServerValidations_Errors'] = "";
if ($WAFV_Redirect == "") {
$WAFV_Redirect = $_SERVER["PHP_SELF"];
}
$WAFV_Errors = "";
$WAFV_Errors .= WAValidateRQ(((isset($_POST["Name"]))?$_POST["Name"]:"") . "",true,1);
if ($WAFV_Errors != "") {
PostResult($WAFV_Redirect,$WAFV_Errors,"ServerValidations");
}
}
?>
===================================
<form action="" method="POST" name="EditUser">
<table width="100%" border="0" cellspacing="0" cellpadding="6">
<tr>
<td width="25"> </td>
<td colspan="3" class="validationErrors"> </td>
</tr>
<tr>
<td width="25"> </td>
<td colspan="3" class="subHeader">Sign-up</td>
</tr>
<tr>
<td> </td>
<td class="formTitle"><div align="right">Name:</div></td>
<td width="280" class="formField"><input name="Name" type="text" id="Name5" value="<?php echo(ValidatedField("ServerValidations","Name")) ?>" size="40"></td>
<td width="225" class="validationErrors"><?php
if (ValidatedField('ServerValidations','ServerValidations')) {
if ((strpos((",".ValidatedField("ServerValidations","ServerValidations").","), "," . "1" . ",") !== false || "1" == "")) {
if (!(false)) {
?>
Required
<?php //WAFV_Conditional Server_Validations.php ServerValidations(1:)
}
}
}?>