Login  Register

Re: Adding a red asterix after the label of required input field

Posted by Alessandro Vernet on Jan 14, 2010; 2:29am
URL: https://discuss.orbeon.com/Adding-a-red-asterix-after-the-label-of-required-input-field-tp1013391p1013558.html

Yes, see this example:

http://localhost:8080/orbeon/xforms-sandbox/sample/howto/error-summary

It is done with CSS, and note that you must be in "span" layout, which  
is not the default yet. You can set it by adding the following  
property to your properties-local.xml:

<property as="xs:string"  name="oxf.xforms.xhtml-layout" value="span"/>

Alex



On Jan 13, 2010, at 2:04 PM, npujol73 <[hidden email]> wrote:

>
> Hi,
>
> Is there a way to do that? If there was a way to identify the label  
> of a
> required field than this would work but
>
> .....{ content: "*"; color: red; }
>
> Is there a way to identify, in orbeon, the label of a required field  
> using
> css?
>
> Thanks
> --
> View this message in context: http://n4.nabble.com/Adding-a-red-asterix-after-the-label-of-required-input-field-tp1013391p1013391.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


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