Required field style

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Required field style

Bilgin Ibryam
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
Reply | Threaded
Open this post in threaded view
|

Re: Required field style

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