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

Success Message?

Thread began 12/12/2010 3:56 am by Daryl | Last modified 7/11/2011 11:27 am by Jason Byrnes | 2220 views | 14 replies |

DarylBeta Tester

Success Message?

I have a simple contact form that sends the contents via email.

What's the best way to add some sort of on screen message stating that an email has been successfully sent?

Sign in to reply to this post

CraigRBeta Tester

depends on what happens when you click the send button.

my contact form validation checks for the form being posted, then checks everything has been filled in correctly.

if everything validates and the mail is sent, i have a variable flag which is set to true, then just a php 'if' block which displays a message if the flag is set to true.

Sign in to reply to this post

anonymous

Daryl,

You could also open the Universal Email server behavior and choose a "go to" page... so that when it sends, it then redirects to a "success" page where you can then add text confirming the sent email.

For example, my form may be on contact.php. Then I create a success page like emailsent.php and then have UE redirect to that page after sending.

Warmest regards,

Brian

Sign in to reply to this post

cldsk369146

This is what I am looking for on Form Builder 2.0

I don't see this option anywhere...I recall on Form Builder 1/UE it was built in, but I can't seem to figure out how to list the success/failure page with Form Builder 2.0...any thoughts?
Many thanks!
~Chris

Sign in to reply to this post

Jason ByrnesWebAssist

edit the Universal Email server behavior after the form is created to set the go to page.

Sign in to reply to this post

cldsk369146

Many thanks, could you tell me where that is/how I get to the universal email server behavior?

Sign in to reply to this post

Jason ByrnesWebAssist

go to Window -> Server Behaviors to open the server behaviors list.

in the list of server behaviors, double click the Universal Email server behavior to edit it.

Sign in to reply to this post

cldsk369146

Many thanks!

Sign in to reply to this post

Jason ByrnesWebAssist

you're welcome.

Sign in to reply to this post

cldsk369146

Did what you said, but still no success page?

I edited the Universal Email's server behavior and changed the "go to" page to success.php....I then saved everything then reuploaded the entire site...after clearing my browser's cache I tried the form again, but it still doesn't go to the success page...any thoughts on why?
the form is on contact.php

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