Hi,
I want to add a new user from a FormFu form, using:
my $new_user = $c->model("DB::TempUser")->new_result({hash => $hash});
$form->save_to_model($new_user);
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.
Please tell me what's the recommended way for doing this (and if the 2 lines
above I use are the recommended way of inserting a new row in DB.)
Thank you.
Octavian
_______________________________________________
HTML-FormFu mailing list
HTML-FormFu@lists.scsys.co.uk
http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/html-formfu