Active
Project:
Field Validation
Version:
7.x-2.0-rc1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
17 Nov 2015 at 23:41 UTC
Updated:
1 Oct 2018 at 18:43 UTC
Jump to comment: Most recent
I am using Field Validation to make someone agree to a terms and conditions boolean, this is a single option with standard 0/1 options for off/on
I tried a few different option in Field validation:
1. Required Field (i guess this doesn't work because "0" is an answer)
2. Specific value(s) (tried having "1" as the value, not working)
3. Words blacklist (tried having "0" as the value, not working)
Please help me solve this :)
Comments
Comment #2
calefilm commentedSame issue. I can't validate anything using this field type
Comment #3
calefilm commentedUPDATE:
I have tried unsuccessfully using both the "Required field" and "Specific Value(s)" validator.
Until I tried instead the "Integer Values" validator.
With this validator, you can apply a minimum and maximum value. Therefore, if you require a user to select "value 1" then insert the following:
Minumum value = 1
Maximum value = 1