close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Triggering UE to return to sending page

Thread began 3/19/2009 7:58 am by martin56987 | Last modified 3/19/2009 11:00 am by Martin | 5347 views | 10 replies |

martin56987

Triggering UE to return to sending page

Greetings,

I know I posted this question in the old archive, but through my search query I was unable to find the answer in the archives.

What I want to do is trigger UE to return to the same page when the form has been successfully sent and then display a hidden message (something like "form successfully sent").

How do I accomplish this with UE?

Thanks,

Martin

Sign in to reply to this post

Ray BorduinWebAssist

Do you have securityAssist? You can add a url parameter to the redirect setting in universal email and then key off that url parameter to display the message. SecurityAssist would help you do it, or you could write a simple IF statement by hand on the page.

Sign in to reply to this post
Did this help? Tips are appreciated...

Martin

Do you have an example?

Hi Ray,

Do you have an example of how you would write this if statement?

As I mentioned above I had a reply a long time ago in the archives with the code (that I cannot now access), and of course I did not copy it out.

Thanks,

Martin

Sign in to reply to this post

Ray BorduinWebAssist

<?php
if (isset($_GET['addedparam'])) {
?>
Show this text only if the addedparam is in the link
<?php
}
?>

Sign in to reply to this post
Did this help? Tips are appreciated...

Martin

I forgot

I forgot to mention that no, I do not have Security Assist. Is this easier to do with Security Assist?

Sign in to reply to this post

Ray BorduinWebAssist

With securityassist you can set up rules... and a rule can be something like a specific parameter in a link or a specific session variable has a specific value or set of values... then you can use these rules to hide and show anything on a page.

So it allows you to do things like this very easily through server behaviors instead of hand coding. Easier is in the eye of the beholder, but it means you don't have to write hand code.

Sign in to reply to this post
Did this help? Tips are appreciated...

Martin

Do you have a hand code example?

Thanks for the reply about Security Assist. Gotta factor that into my future budget! But it sounds like a must as I hate hand coding...

Ray back in the archives I had gotten a specific hand coding example from someone before but I cannot find it. Do you have a hand code example? I would really appreciate it!

Thanks,

Martin

Sign in to reply to this post

Ray BorduinWebAssist

I gave you one three posts back in this thread...

Sign in to reply to this post
Did this help? Tips are appreciated...

Martin

Doh!

Thanks! =)

Sign in to reply to this post

Martin

Another Question

You can tell I am not a hand coder...

So I understand this code goes in the area of the page where I want to show the message. Got it.

However, I am currently using POST with Univeral E-Mail, so do I then have to change the form method to GET? Can this work with POST?

<?php
if (isset($_GET['addedparam'])) {
?>
Show this text only if the addedparam is in the link
<?php
}
?>

Now in regards to the addedparam, is this something that i would name like success? Would I add that to the URL parameter in UE with the ?success ??

Thanks again!

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