symfony - How to embed radio form field in another radio field -


i'm trying following form:

field #1

  • radio 1
  • radio 2
  • radio 3
    • radio 3.1
    • radio 3.2
    • ...
  • radio 4
    • radio 4.1
    • radio 4.2
    • ...

when choose radio 3, list of radios show , i'll have choose 1 of children. possible manage kind of form field (i'm talking symfony part, not view , javascript event showing div etc.)?
if yes, how?

i think problem similar depenend form. idea create listener or subscriber , attach in pre_set_data , submit form event create other list depend of first radio button checked.

maybe can follow this post idea.


Comments

Popular posts from this blog

Fail to load namespace Spring Security http://www.springframework.org/security/tags -

sql - MySQL query optimization using coalesce -

unity3d - Unity local avoidance in user created world -