close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

How to validate a checkbox is ticked - server validation

Thread began 4/10/2014 1:12 pm by YellowCircleWeb | Last modified 4/10/2014 8:07 pm by Jason Byrnes | 1032 views | 5 replies |

YellowCircleWeb

How to validate a checkbox is ticked - server validation

I am using server validation to validate a form as a backup to HTML5 client side validation, which doesn't work in the iOS version of Safari. I have marked the checkbox I want to validate as required in the validation toolkit rules, but the form still submits and sends the email even if the checkbox is left unticked. I'm not sure what I am doing wrong as it works for other text/textarea fields on the form. Any pointers are appreciated.

Sign in to reply to this post

Jason ByrnesWebAssist

send a copy of the page please and a link to test

Sign in to reply to this post

YellowCircleWeb

I've attached the page, along with the email/form validation code. Just change the email address in the page code to one of yours to test it (line 87).

Thanks Jason

Sign in to reply to this post

Jason ByrnesWebAssist

you have multiple instances of the Server Validation behavior on the page, there should only be 1. There should be one server valdation server behavior with all of the validation types defined in that one behavior


The validation show if for the required checbox is for one of the other 2 server validation server behaviors.

i would suggest removing the validation show if behaviors and the other 2 instances of the server validation behavior, leave only the first one, then recreate the validation show if behaviors.

Sign in to reply to this post

YellowCircleWeb

Ah right - thank you Jason. I missed that.

Sign in to reply to this post

Jason ByrnesWebAssist

you're welcome.

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