close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

captcha validation

Thread began 6/08/2010 7:03 am by jim286478 | Last modified 6/14/2010 2:51 pm by Eric Mittman | 3853 views | 13 replies |

jim286478

captcha validation

I have created a form and have added a captcha. The form has client side validation and I am trying to add captcha server side validation. I have read most of the posts in this regard, however, I am having difficulty understanding the help statements in the answers to the posts. The form can be found at quote.php and I have attached the zip file containing all the pertient files. If you could please guilde me in how to add the captcha validation as it doesn't work now.
additionally, the form seems to have spry validation but I don't see that working either.
Your help is appreciated.

Attached Files
form1.zip
form2.zip
Sign in to reply to this post

Eric Mittman

I'm getting a 404 error with the link that you posted. If we could take a look at the form we would have a better idea of what the problem might be. Please post back and include a link to a live server that has the form on it so we can browse and check it out.

Sign in to reply to this post

neilo

Hi Eric,

The page seems to be at form.php

Sign in to reply to this post

jim286478

Hey guys, thanks for the responses however, I deleted the form and its associated files started over again thinking there could have been a glitch somewhere. This time it worked fine. I am not sure what the problem was but its working pretty nice right now. The correct URL is quote.php
Thanks

Sign in to reply to this post

Eric Mittman

It looks like you are actively developing the page as it is currently giving a syntax error. Let us know if you would like us to take a look and post back with the page in question.

Sign in to reply to this post

jim286478

Yes, please do. I have been trying to find the error for a while now but it seems all the code is correct and I cannot find an extra ')' in that line which looks like any of the other lines. Please help.
BTW, the error happened after I added Universal Email!

Attached Files
quote.zip
Sign in to reply to this post

Eric Mittman

It looks like there is a problem with the checkboxes. Did you set the checkboxes dynamically after you added the form? The code that is set for the making the box checked is incomplete.

Did you update an existing form? If so please post back with that form before adding Form Builder to it. It looks like the checkbox is set to dynamically be checked based on a compared to value but the comparison is not happening correctly. Would you like the boxes to be checked automatically under any circumstances?

Sign in to reply to this post

jim286478

OH no, they are suppose to be radio buttons and are not dynamically checked at all or shouldn't be. There should be 5 of them but only one should be selected. I started this f orm from scratch as I mentioned before however, I do have it save as a preset. Should I start from scratch again?

Sign in to reply to this post

jim286478

OK, I edited the form using CSS Form Builder and I believe it corrected itself and now the form is working and also sending email too but now it will send regardless of the captcha! anything goes.
Thanks
quote.php

Attached Files
quote.zip
Sign in to reply to this post

Eric Mittman

It looks like a code order issue, the Universal Email code got placed above the validation code. I have made an update to the page and reversed this, please give it a try and let us know how it works for you.

Attached Files
quote.php.zip
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...