[html-formfu] Modify a submitted value before storing it in the database

Bogdan Lucaciu bogdan at wiz.ro
Thu Oct 9 10:44:40 BST 2008


On Wednesday 08 October 2008 20:02:37 Octavian Rasnita wrote:
> But before adding the elements of the form in the database, I want to
> sha1_hex() the submitted password, which is one of the form fields.

Use DBIx::Class::DigestColumns 

-- 
Bogdan Lucaciu



More information about the HTML-FormFu mailing list