submitting doublelist element form

Discussion relating to version 1.3.x and 1.4.x

submitting doublelist element form

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

Hi,

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
fred_symf
Junior Member
 
Posts: 11
Joined: Tue May 01, 2012 6:56 pm

Re: submitting doublelist element form

Postby 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
smugford
Faithful Member
 
Posts: 245
Joined: Sun Nov 29, 2009 8:32 pm


Return to symfony 1.3 and 1.4

Who is online

Users browsing this forum: No registered users and 3 guests