Custom property for Radio button in his control detail dialogbox

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

Custom property for Radio button in his control detail dialogbox

Zeder127
In my use case, I only want to add a custom property field for radio button in his control detail dialogbox, I made it by adding a <fb:control-details> tag. But now the problem is that, this field shows up not only for radio button but also for other "select1" controls.

How could I avoid this happens?
Reply | Threaded
Open this post in threaded view
|

Re: Custom property for Radio button in his control detail dialogbox

Alessandro  Vernet
Administrator
Hi,

I can't recommend you change code in Form Runner, unless you really, really know what you are doing and you are ready to port those changes every time you upgrade, but assuming that is the case ;), I think you should be able to use controlOps:findControlByNameOrEmpty() to get access to the control, and then test on the value of appearance attribute, which should be "full" for radio buttons.

I hope this helps,

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