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

rating

Can't get mail form to work

Thread began 6/05/2012 12:05 pm by dawn143605 | Last modified 6/07/2012 9:42 am by Jason Byrnes | 1204 views | 9 replies |

dawn143605

Can't get mail form to work

Hi,
I'm trying to develop a php employment application form, where users fill in information and the client receives an email with form fields filled out. I used CSS Form Builder, and although all the fields are there, when I click Submit, the page seems to process, but then nothing happens. I don't receive an email, nor does the sender receive acknowledgment (which is what I want). Also, the page should redirect to a thank-you or error page, but it simply goes back to the form page. I've tried looking up information in the how-to pages to find out what I'm doing wrong, but the problem isn't addressed.

I'm under deadline so really need an answer. I've attached the files in zip format. Thank you for whatever help you can offer. I'm new to php and so need to be walked through this step-by-step.

Thank you.
Dawn Boyer

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

Jason ByrnesWebAssist

my first guess is that validation is failing.

to test for this, find the following code at line 50 - 52:

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

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




and change it to:

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

    die($WAFV_Errors);
    PostResult($WAFV_Redirect,$WAFV_Errors,"employmentopp");
  }




if it is failing validation, submitting the form will show a white screen with a comma separated list of numbers. This will help us determine which validation is failing so we can look into why.

after making this code change, please post a link to your form online where i can test it to.

Sign in to reply to this post

dawn143605

Thanks, Jason. I did as you requested. The page can be found at employmentopp.php

All best,
Dawn Boyer

Sign in to reply to this post

Jason ByrnesWebAssist

iot looks like you may have edited the code incorrectly, that page is showing an error on load. can you send the latest copy of the employmentopp.php page so i can see the code change.

Sign in to reply to this post

dawn143605

This post has been deleted.

dawn143605

Sure thing. Here it is.
And thanks...

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

Jason ByrnesWebAssist

yeah, you accidently deleted a closing }


change line 50 - 45;

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

    die($WAFV_Errors);
    PostResult($WAFV_Redirect,$WAFV_Errors,"employmentopp");
  }  
?>




to:

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

    die($WAFV_Errors);
    PostResult($WAFV_Redirect,$WAFV_Errors,"employmentopp");
  }
}  
?>
Sign in to reply to this post

dawn143605

OK, sorry about that. I changed it, but I'm still getting that weird error message when I test. I've attached the revised version.

Attached Files
employmentopp_page2.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

mmnpinto361034

Can't get email notification working

Got the same problem. I build a format, validate, and espect at the end that the user receives a notification ... but nothing happens.

Sign in to reply to this post
loading

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