You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by Bilgin Ibryam <bi...@iguanait.com> on 2007/09/05 22:08:57 UTC

Required field style

Hi all,

i wanted to mark a field like required but could not decide how to do it,
because i see 3 different ways:
1) the old way, marked only with a *
2) with class="tooltip"  ${uiLabelMap.CommonRequired}
3) with input/field class="required" (this is the gray background of the
input) plus tooltip ${uiLabelMap.CommonRequired} .  This is mostly used in
party manager.

Personally i like 2 or 3, but i think that all the framework should keep to
the same consistent look.
Any ideas/opinions ?

Bilgin Ibryam
-- 
View this message in context: http://www.nabble.com/Required-field-style-tf4387835.html#a12510027
Sent from the OFBiz - Dev mailing list archive at Nabble.com.


Re: Required field style

Posted by Adrian Crum <ad...@hlmksw.com>.
It would be best to use the required and tooltip styles. If the project gets restyled in the future, 
then your UI elements will be updated automatically.

-Adrian

Bilgin Ibryam wrote:

> Hi all,
> 
> i wanted to mark a field like required but could not decide how to do it,
> because i see 3 different ways:
> 1) the old way, marked only with a *
> 2) with class="tooltip"  ${uiLabelMap.CommonRequired}
> 3) with input/field class="required" (this is the gray background of the
> input) plus tooltip ${uiLabelMap.CommonRequired} .  This is mostly used in
> party manager.
> 
> Personally i like 2 or 3, but i think that all the framework should keep to
> the same consistent look.
> Any ideas/opinions ?
> 
> Bilgin Ibryam