Form validation for check boxes?

Issues related to forms.
Post Reply
mexman
Posts: 496
Joined: Mon Feb 11, 2013 11:33 am
Location: Puebla/Mexico

Form validation for check boxes?

Post by mexman » Fri Nov 04, 2016 2:24 pm

Hi Pablo,

seems the form validation does only work for checked boxes, not for unchecked ones. Am I doing wrong, is this a QnEWB error or is that nor possible?
I want to send a form ONLY if
box 1 = checked AND
box 2 = checked AND
box 3 = unchecked!

For box 1 and 2 it working, but the form is sent either box 3 is checked or unchecked.
I left "selection required" in the validator form unchecked.for box 3

How can I acheive the value "box is unchecked" is used for validation?

User avatar
Pablo
Site Admin
Posts: 2639
Joined: Mon Feb 13, 2006 7:00 am
Location: Europe
Contact:

Re: Form validation for check boxes?

Post by Pablo » Fri Nov 04, 2016 3:53 pm

I'm sorry there is no standard solution for this, this requires a custom script.
I left "selection required" in the validator form unchecked.for box 3
In that case no validation will be included.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest