Form Builder-Linking sections to responses in the form

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

Form Builder-Linking sections to responses in the form

Matt Trott
Hello All

I am creating a data form, within my form i want to have a section with radio buttons so when the user chooses an option then a hidden form will be displayed.

Example

Yes would trigger hidden form 1A to be displayed, No would trigger hidden form 1B to be displayed,

I am having difficulty arranging the correct actions and boolean xpressions, can anyone help me on this please?
Reply | Threaded
Open this post in threaded view
|

Re: Form Builder-Linking sections to responses in the form

Alessandro  Vernet
Administrator
Matt,

I suggest that you put the set of fields you want to show or hide in a
section, and show or hide that section. You can do this in Form
Builder as follows:

1) Create a radio button fields. Say you have to items Male (value:
male) and Female (value: female).
2) Give a control name to that radio, by clicking on the cogwheel, say: gender.
3) Add a section, and in the section details (click on cogwheel for
the section), under Visibility, type $gender = 'female', if you want
that section to only show when the gender is set to female.

Alex

On Thu, Jan 28, 2010 at 5:46 AM, Matt Trott <[hidden email]> wrote:

>
> Hello All
>
> I am creating a data form, within my form i want to have a section with
> radio buttons so when the user chooses an option then a hidden form will be
> displayed.
>
> Example
>
> Yes would trigger hidden form 1A to be displayed, No would trigger hidden
> form 1B to be displayed,
>
> I am having difficulty arranging the correct actions and boolean xpressions,
> can anyone help me on this please?
> --
> View this message in context: http://n4.nabble.com/Form-Builder-Linking-sections-to-responses-in-the-form-tp1371862p1371862.html
> Sent from the ObjectWeb OPS - Users mailing list archive at Nabble.com.
>
>
> --
> You receive this message as a subscriber of the [hidden email] mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> OW2 mailing lists service home page: http://www.ow2.org/wws
>
>


--
Orbeon Forms - Web forms, open-source, for the Enterprise
Orbeon's Blog: http://www.orbeon.com/blog/
My Twitter: http://twitter.com/avernet


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet