Hi,

Please tell me how can I change a file upload field after the form was 
submitted.

I can do this with a Text field, but I can't do it with a file upload field:

$c->req->params->{title} = 'new_title';
$c->req->params->{file} = 'new_file;
        $form->process;

After this step
$form->param_value('title') contains 'new_title'
but
$form->param_value('file') still contains 
HTML::FormFu::QueryType::Catalyst=HASH(0x54addec) and not the new string value.

I want to change the old reference with a string which is the basename of the 
uploaded file for beeing able to insert it in the database with 
$form->model->create.

Thanks.

--Octavian
_______________________________________________
HTML-FormFu mailing list
HTML-FormFu@lists.scsys.co.uk
http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/html-formfu

Reply via email to