[Catalyst] HTML::Widget constraint for optional but equal fields?

Sebastian Riedel sri at oook.de
Mon Jan 30 18:29:03 CET 2006


30.01.2006 15:55 Randall Hansen:
> I'm trying to figure out an HTML::Widget constraint for two password
> fields -- the fields are optional, but if one is filled they must both
> be filled and equal.

All is not exactly right, since those fields are both optional, there  
should be (and most likely will be in the next release) a AllIfOne  
constraint.


--
sebastian




More information about the Catalyst mailing list