close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Can't Get Form Fields to Validate

Thread began 8/04/2010 11:06 pm by info129501 | Last modified 8/05/2010 6:17 pm by info129501 | 1654 views | 11 replies


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"); ?>
$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 != "") {


<form action="" method="POST" name="EditUser">
<table width="100%" border="0" cellspacing="0" cellpadding="6">
<td width="25">&nbsp;</td>
<td colspan="3" class="validationErrors">&nbsp;</td>
<td width="25">&nbsp;</td>
<td colspan="3" class="subHeader">Sign-up</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)) {
<?php //WAFV_Conditional Server_Validations.php ServerValidations(1:)

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question





Ease of use


security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...