symfony - Fetcing dynamically added fields in forms - Symfony2 -


i have data added in hidden input fields inside form.

now since i'm using symfony2 forms fields don't submitted. i.e. $form->getdata() not data fields.

how data dynamically added (hidden) input fields well?

fetch post values in context of form type:

$postdata = $request->request->get('form_name'); $name_value = $postdata['title']; 

fetch post values not in context of form type (maybe need):

$data = $request->request->all(); $name = $data['input_name']; 

Comments

Popular posts from this blog

ruby - Trying to change last to "x"s to 23 -

jquery - Clone last and append item to closest class -

c - Unrecognised emulation mode: elf_i386 on MinGW32 -