How to pass a value to POST after validation

Paolo.Ferlini 25 Aug, 2014
Hi all,
i need a little help.
I created a form with CF5, with a DropBox, a file upload and a submit button. I've inserted also a custom element with several hidden fields for storing extra information ( like username, e-mail, ecc. ).

In the on Submit i've inserted a custom code for setting the upload path and a file upload. The last one contains a custom element with my routine for sending POST and an HTML Render.form.

My question is : how can i pass the drop box selected element to my routine ?

Thanks in advance .

Paolo
GreyHead 25 Aug, 2014
1 Likes
Hi Paolo,

ChronoForms adds the submitted values to the $form->data array so you can use $form->data['input_name'] in your code.

Bob
Paolo.Ferlini 25 Aug, 2014
thanks a lot for your replay.

i'll try this afternoon.

Paolo
This topic is locked and no more replies can be posted.