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

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Form Builder form won't send email

Thread began 3/08/2017 6:02 pm by tmcbinc99963 | Last modified 4/12/2017 6:24 pm by Ray Borduin | 126 views | 17 replies |

tmcbinc99963

Form Builder form won't send email

I created a Form Builder form for a 'contact us' page, then copied that form for a 'career opportunities' page. Some of the form elements were deleted, plus a WA dynamic checkbox was added with validation. I deleted the UE server behavior instance from the old page and added new: 'blank_2.php. I then opened the old UE 'blank' page, edited and saved as 'blank_2' for the new page.

The form won't submit. I deleted the checkbox with validation, thinking it could be a validation error, but still not sending. Also changed the trigger to the submit button name, but still nothing.

Sign in to reply to this post

Ray BorduinWebAssist

You have an odd server validation entry where you are validating a validated field:

$WAFV_Errors .= WAValidateRQ((ValidatedField("FindSalesRep","JobOps[]")) . "",false,3);

That line doesn't make sense and is likely the culprit. Try deleting that line (line 17)

Sign in to reply to this post

tmcbinc99963

I've rebuilt the 'show if's' and removed the referenced code (from a checkbox I added, but removed), but still can't get the form to send.

Added 'show errors' code, but no errors.

Sign in to reply to this post

Ray BorduinWebAssist

The email is attempting to send. Have you checked spam filters? Do other emails from your site work? Do you have access to the email logs from your server?

I added a simple test email to a page called session.php and it doesn't seem to send either.

Sign in to reply to this post

tmcbinc99963

Other forms on the site work. I contacted the host provider anyway and added the credentials for their mail server into the UE dialog box (also checked the box at bottom), but still no send. The other form, ContactUs.php didn't have the credentials, but still sent an email.

Thought it might also be the form page trying to send data with no bindings on the email page (blank_2), so I reworked the email page, but still no send.

I have a file upload button on the form page with no binding on the email page, but even if I don't attach a file, it still doesn't send.

Also, what binding should be used for the file attachment? The blank_2.php form bindings list doesn't show a binding for that.

Sign in to reply to this post

Ray BorduinWebAssist

I ended up getting the emails a few hours later when I did my tests. Are you sure it isn't working for you? It seemed to just be delayed.

Sign in to reply to this post

tmcbinc99963

I sent the CareerOps.php form at 7 am this morning, but have received no emails as yet. The other forms on the site, ContactUs.php (built with Form Builder) and confirm.php (with eCart) is being received.

Sign in to reply to this post

Ray BorduinWebAssist

You had your trigger set to a "Validated Field" entry, which should only be used to repopulate form values after a failed validation.

You also had specified a mail server, where none was specified in the working email.

I corrected these issues and the email seems to send now.

Sign in to reply to this post

tmcbinc99963

It seems both forms are using the same UE email settings file. When I uploaded the dependent files from the CareerOps.php page from the server, the UE email settings are the same for both forms. If I change them and upload, then the ContactUs.php page email file will change. As I mentioned in an earlier post, I 'saved as' my ContactUs.php page to create the CareerOps.php page, which could be causing the issue.

After I uploaded your corrected CareerOps.php files the UE interface has the ContactUs.php UE settings. I need to use a unique 'blank' email page for each one, but now the CareerOps.php page has picked up the ContactUs.php 'blank' page, rather than the 'blank_2' page I created for it.

Sign in to reply to this post

Ray BorduinWebAssist

You hadn't uploaded the blank2.php page... so I set it back to the blank.php page so I could test it. I also updated the settings which is why they appeared to be the same when you checked. Did you get the emails from yesterday that I tested? I did.

Also you had the FROM address set to an email address from a different domain that matched the TO address. The incoming email server would be able to see that it didn't actually send that email and could block it as spam. You should also use the same FROM address from the working email.

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