Closed (fixed)
Project:
Webform Validation
Version:
6.x-1.0
Component:
Validation rules
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
28 Nov 2009 at 20:44 UTC
Updated:
21 Jan 2010 at 01:30 UTC
I have a need to require at least one of three fields instead of just two.
Since allowing the validator to require more than two fields also allows it to require just two fields, I modified the "Require at least one of two fields" validator to allow more than just two fields and attached the respective patch to this issue.
Hope it is useful.
| Comment | File | Size | Author |
|---|---|---|---|
| oneofseveral.patch | 1.9 KB | borfast |
Comments
Comment #1
borfast commentedsvendecabooter, could you please have a look at this?
I believe it is useful but I have posted it a week ago and nobody said anything about it, yet.
Comment #2
svendecabooterSorry for not replying. It is on my todo-list, so I will check the path one of the following days.
I might have to change it a bit to provide an upgrade path for people already using the 'oneoftwo' component.
Comment #3
svendecabooterComment #4
svendecabooterThis validation rule has now been added to HEAD.
Thanks for contributing borfast!
Comment #5
borfast commentedGreat! Thanks for the great module, svendecabooter. :)