bar10der has asked for the wisdom of the Perl Monks concerning the following question:
my ($results,$err_page) = $self->check_rm('sam',{ required => ['systemspcust','smcsystems'], optional => ['syswithsrsnetv3'], msgs=>{ any_errors => 'err__', prefix=>'err_' }, }); return $err_page if $err_page;
I am facing problem in two cases -
1. There is a field (eg bonus) which must be entered if user has selected 'Yes' option from a selection option ('Eligible').
2. How can I make sure that user enters only digits in certain field eg. bonusAmt ?
How can I do the above two?
Please help as I am writing my first validateRM script.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Form validation using ValidateRM
by jdtoronto (Prior) on May 11, 2004 at 14:39 UTC | |
by bar10der (Beadle) on May 12, 2004 at 09:17 UTC |