Display a control on click of event

Hello everyone,

I am working on appllication in which i want display a control on click of event of another control.
Foe example: I have radio button with item


  • india
  • usa
  • uk

On click of india i have given textfield to be display. Its working. but it is displaying below the radio. but my client want it should display below india itself. So is there any way to do this?

Thanking you


this can’t be done with the basic OptionGroup. Please take a look at FlexibleOptionGroup add-on (
). It allows you to position option group items in any way you like, and then you could place your text field in between the items.