-
I want to divide the input fields of the form into meaningful groups <input name = "foo [name]" type = "text">
<input name = "foo [addr]" type = "text"> To get this HTML I wrote like this. {{text_field('foo[name]')}}
{{text_field('foo[addr]')}} and $fooValues = $this->request->getPost('foo', array('string','trim')); I think that it is very convenient because it can be obtained as an array and the scope of processing is clarified. However, to set the value entered using I wish I could write |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
Try this one:
|
Beta Was this translation helpful? Give feedback.
Try this one: