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

Capture and play voice with Asterisk ARI -

java - Why database contraints in HSQLDB are only checked during a commit when using transactions in Hibernate? -

visual studio - Installing Packages through Nuget - "Central Directory corrupt" -