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

Form Types - choice and choice_list

About symfony tutorials, symfony book and API documentation.

Form Types - choice and choice_list

by Amarjit » Mon Nov 18, 2013 12:58 pm

Lo all,

I have been scanning through to documents to find an answer but to no avail.

What is the major difference between using a choice form type and a choice list form type?
I can see you can create a custom class for the choice_list, which I'm guessing what I need; as I need to pull cached data from the DB.

I don't believe the documentation gives enough details between the two nor examples for implementing a choice_list?

Amarjit :mrgreen:
Amarjit
Junior Member
 
Posts: 1
Joined: Mon Nov 18, 2013 12:51 pm