close ad
WARNING: Do Not Install the DREAMWEAVER CC 2017 or 2018 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Contact form doesn't seem to send, on iPower

Thread began 5/07/2010 3:39 pm by jmckay406801 | Last modified 5/11/2010 12:57 pm by Jason Byrnes | 4705 views | 7 replies |

jmckay406801

Contact form doesn't seem to send, on iPower

I took the contactus.php form, and set it on my web site. When I hit submit, the form resets, but I don't get a thank you note, or an email. I have my site php set at php5. please check contactus.php

Sign in to reply to this post

Jason ByrnesWebAssist

It looks like you have removed the captcha and security question, Did you also remove the validation code for those elements?

see the "How to remove security features from your Contact Form" tutorial in the How To section of the contact Form Solution pack support page:
contact-form/

Sign in to reply to this post

jmckay406801

Originally Said By: Jason Byrnes
  It looks like you have removed the captcha and security question, Did you also remove the validation code for those elements?

see the "How to remove security features from your Contact Form" tutorial in the How To section of the contact Form Solution pack support page:
contact-form/  



Yes, I went through and got everything it said...still no result

Sign in to reply to this post

Jason ByrnesWebAssist

please post a copy of your page.

Sign in to reply to this post

jmckay406801

here you go...

Attached Files
contactus.zip
Sign in to reply to this post

Jason ByrnesWebAssist

you need to remove lines 17 and 18:
$WAFV_Errors .= WAValidateLE(((isset($_POST["Security_code"]))?strtolower($_POST["Security_code"]):"") . "",((isset($_SESSION["captcha_1"]))?strtolower($_SESSION["captcha_1"]):"") . "",true,4);
$WAFV_Errors .= WAValidateLE(((isset($_POST["Security_question"]))?strtolower($_POST["Security_question"]):"") . "",((isset($_SESSION["random_answer"]))?strtolower($_SESSION["random_answer"]):"") . "",true,5);


these vaidate the security form elements you removed.

Sign in to reply to this post

jmckay406801

OK, great. That fixed it so that it sends the email and goes to the thank you screen. Now...how do i get it to go from the thank you screen back to the web site after a few seconds?

Sign in to reply to this post

Jason ByrnesWebAssist

use the javascript setTimeout function on the onLoad event of the body tag:


<body onload=setTimeout("location.href='http://www.yahoo.com'",10000)>
<!-- time is in miliseconds 10000 is equal to ten seconds -->

Sign in to reply to this post

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