This forum is in READ-ONLY mode.
You can look around, but if you want to ask a new question, please use Stack Overflow.

submitting doublelist element form

Discussion relating to version 1.3.x and 1.4.x

submitting doublelist element form

by fred_symf » Thu Mar 21, 2013 8:02 pm


I have a form with a doublist list and when I submit it, the posted value is 'Array'.
If I display the submitted values by looking at the content of $_POST, I can see correctlythe items I selected. But when I use the symfony functions such as $this->getvalues() or $this->getvalue('myfield'), I only get 'Array'.

Thanks for the help
Junior Member
Posts: 11
Joined: Tue May 01, 2012 6:56 pm

Re: submitting doublelist element form

by smugford » Thu Apr 11, 2013 11:04 pm

hard to say without seeing your code but does your form have the right validator type?

i had a similar issue a long time ago and once i added the proper validator it worked.

if your still having issue post your code and i'll see if i can pinpoint it for you.
User avatar
Faithful Member
Posts: 245
Joined: Sun Nov 29, 2009 8:32 pm