Hi,
I was wondering if someone would kindly show me an example on how to
use this. I searched the list archives and could not find any
references to this.
Say I have two date fields from a form how do I create the constraints?
I tried this:
$w->constraint(Date => qw/ fecha_nacimiento fecha_muerte/)
->message('Formato AAAA-MM-DD');
But it obviously does not work becaus the doc says this:
HTML::Widget::Constraint::Date
my $c = $widget->constraint( 'Date', 'year', 'month', 'day' );
There are no examples with dates in the tutorial nor the HTML::Widget
docs, and the above left me a bit confused :-]
Thanks beforehand,
Alejandro Imass
_______________________________________________
List: [email protected]
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/