nested conditionally revealing content within xform:select1

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

nested conditionally revealing content within xform:select1

ittestness
Hello,

Is possible make a form with orbeon/xforms with conditionally revealing content within select1 control ?

I know that easy way could be add select1 control and choice/case control. but with these controls will be
displayed  xf:case after all select1 radio choices. What i want is to make my nested form elements displayed  close to selected
radiobox value, just like here https://design-system.service.gov.uk/components/radios/ in section "conditionally revealing content"


thanks

it

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Reply | Threaded
Open this post in threaded view
|

Re: nested conditionally revealing content within xform:select1

Alessandro  Vernet
Administrator
Got it, IT: if you're writing XForms by hand, you can do this by having
multiple `<xf:select1 appearance="full">`, one per checkbox, and having all
of them bound to the same node. Orbeon Forms handles this case and will
automatically deselect the radios in one `<xf:select1 appearance="full">` if
a value in another `<xf:select1 appearance="full">` bound to the same node
changes. You'll let me know if this works for you.

‑Alex

-----
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
--
Sent from: http://discuss.orbeon.com/

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet