close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

form not submitting

Thread began 3/03/2012 12:03 am by jeff421281 | Last modified 3/09/2012 7:41 am by Jason Byrnes | 2200 views | 7 replies |

jeff421281

form not submitting

Hi, I used your CSS Form Builder, but I've been struggling to get the form to work and I'm not sure what I need to do. The validation won't accept; I'm not sure if the email works. Can you look at the file and steer me in the right direction. Thank you!!

Attached Files
contact.txt
Sign in to reply to this post

Jason ByrnesWebAssist

you say "The validation won't accept", can you expand on that a little please.

Do you mean all validation?

Or a specific validation?


to help us track which validation is failing, change the following code:

php:
if ($WAFV_Errors != "")  {

    PostResult($WAFV_Redirect,$WAFV_Errors,"contact");
  }




to:

php:
if ($WAFV_Errors != "")  {

    die($WAFV_Errors."<br />".var_dump($_POST)."<br />".var_dump($_SESSION));
    PostResult($WAFV_Redirect,$WAFV_Errors,"contact");
  }




this will write a bunch of information to the screen when validation fails, please post that back.

Sign in to reply to this post

jeff421281

Hi Jason, thank you for taking the time to look at this. I've been working on this website for such a long time, I'm burnt out. Here is the error code, I swapped out my email address with my user name for posting purposes.


array(8) { ["Name"]=> string(4) "Jeff" ["Email"]=> string(21) "jeff421281" ["Feedback"]=> string(1) "2" ["Message"]=> string(9) "Hi there!" ["Security_Code"]=> string(6) "xk5wpt" ["Hidden_Field"]=> string(0) "" ["FeedbackContactForm_submit_x"]=> string(3) "164" ["FeedbackContactForm_submit_y"]=> string(2) "28" } array(2) { ["captcha_Security_Code_1"]=> string(6) "xK5wPt" ["WAVT_contact_Errors"]=> string(0) "" } ,4


The problem occurs when I'm trying to submit the form. It seems to get hung up with the Captcha validation. When the Captcha is entered correctly, it doesn't seem to recognize the entry and gives the "wrong validation" message.

The form is supposed to send an email with the "Your Name" field as the "From Sender" in the email, and the 'drop-down select menu' selection is supposed to be carried over to the email as the email's subject. I don't know if those things are conflicting with the form submission, but since the form isn't submitting I can't test those features out.

Thanks!!

Sign in to reply to this post

Jason ByrnesWebAssist

in the server validation behavior, you have set the like entry validation fro the captcha to compare the "Security_Code" form element to the "captcha_Security_Code" session variable, this needs to be reset to use the "captcha_Security_Code_1" session variable instead.

Sign in to reply to this post

jeff421281

Hi Jason, I made the change you requested thru the Server Behavior panel, however it's not accepting the Captcha entry. Below is the error code I'm receiving.

array(8) { ["Name"]=> string(4) "Jeff" ["Email"]=> string(21) "jeff421281" ["Feedback"]=> string(1) "2" ["Message"]=> string(17) "Howdy Licensing 4" ["Security_Code"]=> string(6) "44PZKm" ["Hidden_Field"]=> string(0) "" ["FeedbackContactForm_submit_x"]=> string(3) "183" ["FeedbackContactForm_submit_y"]=> string(2) "15" } array(2) { ["captcha_Security_Code_1"]=> string(6) "44PZKm" ["WAVT_contact_Errors"]=> string(0) "" } ,4

Sign in to reply to this post

Jason ByrnesWebAssist

please upload the latest copy of the page in a zip archive so i can examine the code.

Sign in to reply to this post

jeff421281

Here you go, thank you!!

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

Jason ByrnesWebAssist

I have created a support ticket so we can look into this issue further.

To view and edit your support ticket, please log into your support history:
supporthistory.php

If anyone else is experiencing this same issue, please append to this thread.

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