close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

installed the latest databridge and set validation on a form. It works on my testing server but not on my remote server.

Thread began 3/31/2019 3:35 pm by JBWebWorks | Last modified 4/01/2019 12:16 pm by JBWebWorks | 1198 views | 4 replies

JBWebWorks

installed the latest databridge and set validation on a form. It works on my testing server but not on my remote server.

installed the latest databridge and set validation on a form. It works on my testing server but not on my remote server. When i press the trigger submit button, nothing happens at all. On my testing server, I get the progress bar showing and all of the validations work. On my remote server, nothing happens.
I am thinking some file is not uploaded but can't figure out what?

<?php require_once("webassist/form_validations/wavt_scripts_php.php"); ?>
<?php require_once("webassist/form_validations/wavt_validatedform_php.php"); ?>
<?php
if (isset($_POST["submit1"]) || isset($_POST["submit1_x"])) {
$WAFV_Redirect = "";
$_SESSION['WAVT_contactus_372_Errors'] = "";
if ($WAFV_Redirect == "") {
$WAFV_Redirect = $_SERVER["PHP_SELF"];
}
$WAFV_Errors = "";
$WAFV_Errors .= WAValidateRQ(((isset($_POST["name1"]))?$_POST["name1"]:"") . "",false,1);
$WAFV_Errors .= WAValidateEM(((isset($_POST["email1"]))?$_POST["email1"]:"") . "",true,2);
$WAFV_Errors .= WAValidateRQ(((isset($_POST["message1"]))?$_POST["message1"]:"") . "",false,3);
$WAFV_Errors .= WAValidateLE(strtolower(((isset($_POST["Security_Code_1"]))?$_POST["Security_Code_1"]:"")) . "",strtolower($_SESSION['captcha_Security_Code_1']) . "",true,4);

if ($WAFV_Errors != "") {
PostResult($WAFV_Redirect,$WAFV_Errors,"contactus_372");
}
}
?>



Form code

<div id="form2_ProgressWrapper">
<form action="" method="post" enctype="multipart/form-data" name="form2" id="form2">
<p>*Name:<br />
<input name="name1" type="text" value="<?php echo(ValidatedField("contactus_372","name1")) ?>" /><br />

<?php
if (ValidatedField('contactus_372','contactus_372')) {
if ((strpos((",".ValidatedField("contactus_372","contactus_372").","), "," . "1" . ",") !== false || "1" == "")) {
if (!(false)) {
?>
<span class="style1"> Please enter your full name. </span>
<?php //WAFV_Conditional contact-us.php contactus_372(1:)
}
}
}?>
</p>
<p>*Email Address:<br />

<input name="email1" type="text" id="email1" value="<?php echo(ValidatedField("contactus_372","email1")) ?>" /><br />
<?php
if (ValidatedField('contactus_372','contactus_372')) {
if ((strpos((",".ValidatedField("contactus_372","contactus_372").","), "," . "2" . ",") !== false || "2" == "")) {
if (!(false)) {
?>
<span class="style1">Please enter valid email address.</span>
<?php //WAFV_Conditional contact-us.php contactus_372(2:)
}
}
}?>
</p>
<p>Phone:<br />

<input name="phone3" type="text" id="phone3" value="<?php echo(ValidatedField("contactus_372","phone3")) ?>" />
</p>
<p>Message:<br />

<textarea name="message1" id="message1" cols="45" rows="5"><?php echo(ValidatedField("contactus_372","message1")) ?></textarea><br />

<?php
if (ValidatedField('contactus_372','contactus_372')) {
if ((strpos((",".ValidatedField("contactus_372","contactus_372").","), "," . "3" . ",") !== false || "3" == "")) {
if (!(false)) {
?>
<span class="style1">Please enter your message so that we know better how to assist you.</span>
<?php //WAFV_Conditional contact-us.php contactus_372(3:)
}
}
}?>
</p>
<p><img id="capt1" src="webassist/captcha/wavt_captchasecurityimages.php?width=200&height=50&field=Security_Code_1&bgcolor=FFFFFF&transparent=0&bgimage=&gridfreq=20&gridcolor=A8A2D1&gridorder=behind&noisefreq=20&noisecolor=A8A2D1&noiseorder=behind&characters=5&charheight=&font=fonts/MOM_T___.TTF&textcolor=A8A2D1" alt="security code" width="200" height="50" /><img src="webassist/captcha/images/refresh.png" height="18" onclick="document.getElementById('capt1').src+='&ref=1'" /><br />Not case sensitive.<br />
<input id="Security_Code_1" name="Security_Code_1" type="text" value="" /><br />
<?php
if (ValidatedField('contactus_372','contactus_372')) {
if ((strpos((",".ValidatedField("contactus_372","contactus_372").","), "," . "4" . ",") !== false || "4" == "")) {
if (!(false)) {
?>
<span class="style1">Your entry did not match the security code.</span>
<?php //WAFV_Conditional contact-us.php contactus_372(4:)
}
}
}?>
</p>
<p>Attach a file:<br />

<input type="file" name="attach1" id="attach1" />
</p>
<p>
<input type="submit" name="submit1" id="submit1" value="Submit" />
</p>
</form>
</div>

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

Content

rating

Layout

rating

Ease of use

rating

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...