I have what I hope is an easy question.
I want to have a text field that is visible only if a radio button is set to "on" (versus "off") how would I setup the action for this? Thanks |
I'd say use a <bind> on the text field's instance element with an @relevant that checks the value of the radio's instance element.
Cheers Jeroen
On Wed, Mar 18, 2009 at 1:27 AM, stringkarma <[hidden email]> wrote:
-- 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 |
Administrator
|
In reply to this post by stringkarma
In Form Builder, you can set various properties in a control's
validation settings dialog. Other controls are accessible using a variable with the name of the control. E.g. if you called your radio buttons "on-off", its value is accessible with $on-off. So you could write, as a Visibility constraint: $on-off = 'on' See screenshot: http://skitch.com/ebruchez/betu5/orbeon-form-builder (Note that this is translated by Form Builder into an xforms:bind/ @relevant attribute.) -Erik On Mar 17, 2009, at 5:27 PM, stringkarma wrote: > > I have what I hope is an easy question. > > I want to have a text field that is visible only if a radio button > is set to > "on" (versus "off") > > how would I setup the action for this? > > Thanks > -- > View this message in context: http://www.nabble.com/Orbeon-Form-Builder-tp22570711p22570711.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 for the Enterprise Done the Right Way http://www.orbeon.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 |
Thanks for this, it sounds like a pretty easy yet powerful method. Is there some further documentation on this or the "actions" dialog?
Thanks again.
|
Administrator
|
On Apr 5, 2009, at 8:19 AM, stringkarma wrote:
> Thanks for this, it sounds like a pretty easy yet powerful method. > Is there > some further documentation on this or the "actions" dialog? Not yet. For now the page linked below serves as a placeholder, and you'll soon find more documentation on Form Builder there: http://wiki.orbeon.com/forms/doc/user-guide/form-builder-user-guide Alex -- Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise Orbeon's Blog: http://www.orbeon.com/blog/ Personal Blog: http://avernet.blogspot.com/ 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 |
Free forum by Nabble | Edit this page |