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

javascript - How to process users in one specific order using map o each function? -

java - Two interface have same method name with different return type -

javascript - Linking from page A to a specific iframe on page B -