Closed (outdated)
Project:
Webform Validation
Version:
7.x-1.x-dev
Component:
Validation rules
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
2 Sep 2011 at 14:51 UTC
Updated:
17 Apr 2026 at 20:36 UTC
Jump to comment: Most recent
Comments
Comment #1
svendecabooterCan you post this as a patch, and elaborate a bit more on what this does exactly? (e.g. provide a use case or example)
Comment #2
lyknart commentedThis solution can simply be, in the case of a multiple-choice, you can block the sending of the form until the user correctly answers the question or questions.
The method "specific values" can create an OR between the responses. In this case it is an AND.
I made a solution appears in the original attachment.
Exemple:
Question 1 :
1|A
2|B
3|C
Validation => 2 AND 3
If i answer :
1 = false
2 = false
3 = false
1 AND 2 = false
1 AND 3 = false
2 AND 3 = true => go to next question / send to webform
Comment #3
liam morlandPlease post this as a patch against the latest development version.
Comment #4
liam morlandComment #5
liam morlandDrupal 7 is no longer supported. If this applies to a supported version, please re-open.