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

Is it possible to have a form submit failure page similar to the success page?

Thread began 3/04/2018 7:53 am by i.edwards384429 | Last modified 3/07/2018 12:43 am by Ray Borduin | 127 views | 5 replies |

i.edwards384429

Is it possible to have a form submit failure page similar to the success page?

Hi

I have the form set up and it works and a successful send opens my file success.php however I'd like to have a page called failure.php to open if the send is unsucessful. Is this possible?
thanks
Ian

Sign in to reply to this post

Ray BorduinWebAssist

Under what circumstances would it be unsuccessful? We should be able to identify those situations and add a redirect to a failure page.

Sign in to reply to this post

i.edwards384429

Hi Ray

I've noticed that when I try the form any fields left blank cause the validation message to appear

However if the Captcha is typed in incorrectly I get the progress bar and then the original contact page is displayed with an empty form.

So the enduser has no idea if the form has been sent or not. hence I thought of a failure page to tell the enduser they had mis typed the captcha

thanks

Ian

Sign in to reply to this post

Ray BorduinWebAssist

You can use the Server Validations Show If server behavior to show a custom error message when the validation fails on the page without redirecting to the failure page. That is usually the preferred method. However you could also edit the Server Validations server behavior to set a failure redirect page.

Sign in to reply to this post

i.edwards384429

Hi Ray

apologies if I'm being a bit slow.

On my form If I leave the Captcha field blank I get the validation message "Please Enter a Value"

However if I type in the incorrect Captcha I get no error message ie "Your Entry did not Match"

Neither do I get a success page I am just returned to the form page with a blank form.

Some users might assume their message had been sent when it hasn't.

How do I set the form to check that the captcha inserted matches the captcha created on the form

If I highlight the captcha field and select web assist---form---validation---server validations I was hoping I find server variable that represented the created Captcha that I could set to match the user entered Captcha entry but all I see is a Validation Trigger and a server variable to fill in.

Would appreciate and hints

thanks

Ian

Sign in to reply to this post

Ray BorduinWebAssist

There is a Webassist->Security Assist->Show Region server behavior. You can use that to show a region on the page if the captcha fails. The Captcha has Like Entry validation verifying the values match.

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