[html-formfu] force error on field?

Josef Chladek josef.chladek at gmail.com
Tue Sep 25 13:40:29 GMT 2007


I read that one should not use the DBIC::Unique constraint - so I eval:

eval {$row->populate_from_formfu( $c->stash->{form} );};

and then check if $@ has the message "Duplicate entry ... for key  

how would I now set the error for the field 'email' in my form? or  
can I only use


and use the string in form_error_message to show something?


More information about the HTML-FormFu mailing list