close ad
Help us test the new Databridge BETA with MySQLi support
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Display Success or Error message at sending

Thread began 10/23/2012 9:04 am by michellepaese443314 | Last modified 11/08/2012 11:30 am by Daryl | 1693 views | 3 replies |

michellepaese443314

Display Success or Error message at sending

Hi.
I have a form loading in jQuery's div, inside a php page already created earlier.
The previous form carried the auto-reply (if it was sent successfully or error occurred) through an image (error = error.jpg; success = success.jpg).
But with the exchange server, old form started to give errors, and therefore replaces one made by the Universal Email.
But it doesn't loadthe response page within the div success.php prepared for it, does not load the page in a new page ... no message at all...
What can I do to include a if = success, loads the image success.jpg, and if it goes wrong, the image loads error.jpg?
Thank you

Sign in to reply to this post

michellepaese443314

Forgot to say, the form doesn't have database connection. It just send emails.
Thanks again ^^

Sign in to reply to this post

Jason ByrnesWebAssist

In Universal Email, you can set a redirect page to send to another page after the email is sent, it does not allow for showing an image on success or failure

Sign in to reply to this post

DarylBeta Tester

For the error side of it, I use the form validation extension. You can either leave the validation message next to the relevant form field or put them at the top of the form. For the success message, I get the UE to redirect to the same page that has the email form on it (set in the wizard) but add ?email=success after the page url

  contact.php?email=success  



Then add a PHP block above your success message;

<?php if(isset($_GET['email']) && $_GET['email'] == "success") { ?>

and one below it;

<?php } ?>

  <?php if(isset($_GET['email']) && $_GET['email'] == "success") { ?>
<p>Thank you</p>
<p>Your email has been sent to Strata Medical where one of the team will contact you if it is needed.</p>
<?php } ?>  
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...