I like the CSS 'trick' -- I will try it tonight !

Thanks again Wendy,

Regards, Alex.


On 7/22/05, Wendy Smoak <[EMAIL PROTECTED]> wrote:
> 
> From: "Aleksandar Matijaca" <[EMAIL PROTECTED]>
> > I would like
> > to automatically place a little red * right beside the input field.
> > For my password confirmation field, wnen I put
> > <html:errors property="confirm_password"/>
> > beside the text field, I get the WHOLE STRING for the 'required'
> > validation,
> > instead, I would like to display only a *.
> 
> The <logic:messagesPresent> tag might help...
> http://struts.apache.org/userGuide/struts-logic.html#messagesPresent
> 
> There are also 'errorStyle' and 'errorStyleClass' on the <html:*> tags. If
> you can do it in CSS, you can apply it to the form element _only_ when 
> there
> is an error for that property.
> 
> --
> Wendy Smoak
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
>

Reply via email to