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

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Universal email thank you region

Thread began 3/10/2013 9:37 pm by info145869 | Last modified 8/23/2013 2:55 pm by Jason Byrnes | 1021 views | 7 replies |

info145869

Universal email thank you region

Hi

Is there somewhere a tutorial that when a form is submitted i do not have to create a separate thank you page but can just submit the form to itself and have a region above the form displaying that the form has been submitted.


Thanks for any help

Sign in to reply to this post

Jason ByrnesWebAssist

In Universal Email, you could set the Go To Page to page with the form on it, and pass a URL variable:

pagename.php?sent=true

open the bindings panel, and create a new binding for the URL variable. Click the plus button select URL Variable. for the name enter "sent" (without the quotes).

then you could type the thank you message on the page, select it and add the WEbAssist Show Region Utility.

Open the server behaviors panel, click the plus button and select WebAssist -> Utilities -> Show region.

click the lightning bolt next to the if setting and select the sent URL variable binding.

set IS to "equal To"

and for the value enter "true" (without quotes)

Sign in to reply to this post

info145869

Tried this and it doesn't work. Get the following error

Notice: Undefined index: sent in D:\Domains\testdomain.com.com\wwwroot\contact.php

Sign in to reply to this post

Jason ByrnesWebAssist

the error should also report a line number?

send a copy of the contact.php page so I can see the code.

Sign in to reply to this post

info145869

Its 184

Sign in to reply to this post

Jason ByrnesWebAssist

ok, line 184 is:

if ("".$_GET['sent'] ."" == "true") {


change that to:
if ("".isset($_GET['sent'])?$_GET['sent']:"" ."" == "true") {

Sign in to reply to this post

info145869

Thanks i try this . Question.

That is part of the "show if" region. does this mean the extension is not working as should ?

Sign in to reply to this post

Jason ByrnesWebAssist

the extension is working fine, it is just that you have your servers error reporting level set to includeNotices, Notices are not really problems.

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