How to change Radio Button Id

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

How to change Radio Button Id

Bharamani
HI

How to change default Id of radio button in Orbeon?
Thanks
Bharamani
Reply | Threaded
Open this post in threaded view
|

Re: How to change Radio Button Id

Alessandro  Vernet
Administrator
Hi Bharamani,

What do you mean by "default id"?

Alex
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
Reply | Threaded
Open this post in threaded view
|

Re: How to change Radio Button Id

Bharamani
Hi

 Please see attached image

 I want to change the id of radio button item.

Thanks
Bharamani
Reply | Threaded
Open this post in threaded view
|

Re: How to change Radio Button Id

Alessandro  Vernet
Administrator
Hi Bharamani,

Got it: you're referring to the id in the HTML produced by Orbeon Forms. In that id, you can change the "section-1" and "control-2" parts, as they are derived respectively from your section and control name. But you have no control over the rest of the id, so better not rely on it in your own CSS or JavaScript.

And of course, just let us know if because of this there is something you're having hard time doing.

Alex
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet