in reply to Form validation using ValidateRM
1. There is a field (eg bonus) which must be entered if user has selected 'Yes' option from a selection option ('Eligible').
Use a dependency group - see the module docs, using dependencies and dependency groups you can require a field to be filled in if a pre-requisite field is filled in, or if one of a group is filled in then all are required.
Getting digits only:
There is a Data::FormValidator::Filters module installed with the parent module. You can use a filer of ... digit!
is an example form the docs for Data:FormValidator jdtorontofield_filters => { cc_no => "digit" },
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Form validation using ValidateRM
by bar10der (Beadle) on May 12, 2004 at 09:17 UTC |