[Catalyst] "Best Practice" for validating form input

Kevin Old kevinold at gmail.com
Fri Aug 26 15:26:33 CEST 2005


On 8/25/05, Perrin Harkins <perrin at elem.com> wrote:
[snip]
> 200px;<tmpl_if err_first_name> background-color: #ffe66b;</tmpl_if>" />

Perrin,

Thanks for the example code.  Any idea if HTML::Mason has an
equivalent of HTML::Template's <tmpl_if>?  I'm trying to avoid a huge
<%perl> block with an if statement in each <input>.


Thanks for your help,
Kevin
-- 
Kevin Old
kevinold at gmail.com



More information about the Catalyst mailing list