How can you make all of the controls in a group read only based on a radio button option?

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

How can you make all of the controls in a group read only based on a radio button option?

krowe
I have a few control and when I select an option of yes I want a section or group or just a control be made read only and then when that value changes to read only and from read only is should clear those controls of all content.

A few posts I have found that are similar, suggest just having a copy of those control with one set read only and one set editable, but I would think this would be common thing people would do.

Any ideas are welcome!
-Kevin
Reply | Threaded
Open this post in threaded view
|

Re: How can you make all of the controls in a group read only based on a radio button option?

Erik Bruchez
Administrator
Kevin,

This example should do what you want:

https://gist.github.com/1837412

-Erik

On Wed, Feb 15, 2012 at 7:30 AM, krowe <[hidden email]> wrote:

> I have a few control and when I select an option of yes I want a section or
> group or just a control be made read only and then when that value changes
> to read only and from read only is should clear those controls of all
> content.
>
> A few posts I have found that are similar, suggest just having a copy of
> those control with one set read only and one set editable, but I would think
> this would be common thing people would do.
>
> Any ideas are welcome!
> -Kevin
>
>
> --
> View this message in context: http://orbeon-forms-ops-users.24843.n4.nabble.com/How-can-you-make-all-of-the-controls-in-a-group-read-only-based-on-a-radio-button-option-tp4390810p4390810.html
> Sent from the Orbeon Forms (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
>


--
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
Reply | Threaded
Open this post in threaded view
|

RE: How can you make all of the controls in a group read only based on a radio button option?

krowe

Thank you for the quick reply!

 

Kevin Rowe
Ultimate TV IT Application Development
[hidden email]
(204) 941-6598

From: Erik Bruchez [via Orbeon Forms (ops-users)] [mailto:ml-node+[hidden email]]
Sent: Wednesday, February 15, 2012 11:21 AM
To: Rowe, Kevin
Subject: Re: How can you make all of the controls in a group read only based on a radio button option?

 

Kevin,

This example should do what you want:

https://gist.github.com/1837412

-Erik

On Wed, Feb 15, 2012 at 7:30 AM, krowe <[hidden email]> wrote:


> I have a few control and when I select an option of yes I want a section or
> group or just a control be made read only and then when that value changes
> to read only and from read only is should clear those controls of all
> content.
>
> A few posts I have found that are similar, suggest just having a copy of
> those control with one set read only and one set editable, but I would think
> this would be common thing people would do.
>
> Any ideas are welcome!
> -Kevin
>
>
> --
> View this message in context: http://orbeon-forms-ops-users.24843.n4.nabble.com/How-can-you-make-all-of-the-controls-in-a-group-read-only-based-on-a-radio-button-option-tp4390810p4390810.html
> Sent from the Orbeon Forms (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
>



--
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


To unsubscribe from How can you make all of the controls in a group read only based on a radio button option?, click here.
NAML