close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

captcha and Validation installed, but page will not move on to another page.

Thread began 2/25/2021 5:57 pm by Bill | Last modified 2/27/2021 12:03 pm by Ray Borduin | 356 views | 5 replies |

Bill

captcha and Validation installed, but page will not move on to another page.

I've attached my file and a link to the page on the web in private, but basically I think I have set up the captcha and the server validation correctly, but I am missing some vital step, because when the captcha is filled out the page just reverts back to itself and the form data is lost. I did look through the help files but could not see any step I had missed.

What am I missing?

Sign in to reply to this post

Ray BorduinWebAssist

You would probably want to save the entries in the database and then redirect to the next page.

Your form validation is only validating that a captcha value is entered and is not blank. It isn't validating that it is correct.

Your validation failure redirect is set to go to another page, so it would only forward to the next page if the validation fails, which really doesn't make sense.

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

Bill

Thanks for coming back, forgive my newness. Can you tell me how I add the comparison and the redirect when successful.

I was going to add the details to the database and send an email in a processing.php page after validation, the reason being it is a long form and it seems to slow Dreamweaver down when I add it here. I'm comfortable with inserting records etc. it is just my first time using the validation, and am still a little lost, so any pointers are gratefully received!

Sign in to reply to this post

Ray BorduinWebAssist

If you want to go to another page, then you would set the form action to point to that page and add the validation on the second page.

The preferred method is to add the email on this page and redirect to the next page after the email sends with the redirect in the email server behavior.

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

Bill

I am still trying to grasp this, I apologize. I've sent a couple of files privately to see if you can point me in the right direction.

Sign in to reply to this post

Bill

SOLVED

I finally figured out the step I hadn't taken. I had to add an else statement at the end. I can't remember seeing that in the instructions, but when I look back it seems logical.

In case anybody else is looking, I ended up with this code...

if ($WAFV_Errors != "") {
PostResult($WAFV_Redirect,$WAFV_Errors,"regfull_746");
}

//This is the part I added ( I could have added code in here too...
else {

header("Location: new page to go to");

}
//

}

Thank you Ray, your comments helped me solve this. thanks for a great product!

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