Login  Register

RE: Re: Adding a hint to a label

Posted by Stephanie Hall (TT) on Dec 30, 2009; 7:02pm
URL: https://discuss.orbeon.com/Adding-a-hint-to-a-label-tp990582p991104.html

Hi Ethan,

 

No, I want to have one hint display when I mouseover the label and a different one when I mouseover the input.

 

 I was able to sort of do it by using <xforms:label><p title=”mytext”>mylabel</p></xforms:label> but I can’t control the style of the title attribute.

 

Thanks,
Stephanie

 

From: Ethan Gruber [mailto:[hidden email]]
Sent: Wednesday, December 30, 2009 11:24 AM
To: [hidden email]
Subject: [ops-users] Re: Adding a hint to a label

 

Hi Stephanie,

I believe xforms:hint should be a child of xforms:input, not xforms:label.  If you hover your mouse over the input the hint will display.  Is this what you're looking for?

Ethan

On Tue, Dec 29, 2009 at 3:51 PM, Stephanie Hall (TT) <[hidden email]> wrote:

Hi all,

 

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. 

 

So ideally I want:

 

                <xforms:input ref=”…”>

                                <xforms:label>

My label

                                                <xforms:hint>This is what this field does</xforms:hint>

                                </xforms:label>

                                <xforms:hint>The value</xforms:hint>

                </xforms:input>

 

Thanks!

Stephanie



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