Login  Register

RE: Re: Adding a hint to a label

Posted by Stephanie Hall (TT) on Jan 04, 2010; 9:38pm
URL: https://discuss.orbeon.com/Adding-a-hint-to-a-label-tp990582p998583.html

Hi Alex,

We basically wanted a hint on the label to say "this input is for doing x" when you hover over the label and then when you hover over the input box, it displays the current value.  We do this because we have a very long value but we don't have that much screen real estate. :)

Thanks,
Stephanie

-----Original Message-----
From: Alessandro Vernet [mailto:[hidden email]]
Sent: Wednesday, December 30, 2009 7:15 PM
To: ops-users
Subject: [ops-users] Re: Adding a hint to a label

Stephanie,

On Tue, Dec 29, 2009 at 12:51 PM, Stephanie Hall (TT) <[hidden email]> wrote:
> I have a question:  Is it possible to add a hint to label?  Like my
> project is going to display the control's value in the control's hint
> (since the text will be rather long) and we want to have a hint around
> the control's label to say what the field is used for.

Like Ethan said, you can only have a <xforms:hint> for the control, not for the label of the control. I am a bit puzzled as to what you trying to do displaying the value of the input in the hint. If the value is in the hint, then it won't be editable, right? Then wouldn't you want to have an <xforms:output> instead? Would you like to have the value displayed both in the text field, and next to it in a hint?

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