You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "Krishna, Hari" <HK...@Templeton.com> on 2006/08/10 08:33:07 UTC

Validation message Help

Hi
I have a registration page where i have a list of text boxes (all are mandatory).Is it possible to show one single error message for all the fields while highlighting all of them in RED color?Please get me ur advice.I know only one way of validation where we show multiple mandatory validation messages for multiple fields while highlighting all of them in RED color. I need one message but multiple highlighting .

With Best Regards,
I.Hari krishna.
------------------------------------------------------------
Franklin Templeton Investments
+91- 44 - 24407000 Extn:17123
--------------------------------------------------------------
Notice:  All email and instant messages (including attachments) sent to
or from Franklin Templeton Investments (FTI) personnel may be retained,
monitored and/or reviewed by FTI and its agents, or authorized
law enforcement personnel, without further notice or consent.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: Validation message Help

Posted by Puneet Lakhina <pu...@gmail.com>.
On 8/10/06, Krishna, Hari <HKrishn1@templeton.com > wrote:
>
> Hi
> I have a registration page where i have a list of text boxes (all are
> mandatory).Is it possible to show one single error message for all the
> fields while highlighting all of them in RED color?
>

For highlighting the the textboxes with red bordor or whatever you could use
something called errorStyle, which is available for struts version 1.2.5 and
above.
http://struts.apache.org/1.2.9/userGuide/struts-html.html#text

Could you please clarify on what you mean by one error message,
as in do you want it one line saying field1 field2 field3.. missing or do
you just want fields missing or do you want field1 missing.
-- 
Puneet

RE: Validation message Help

Posted by Tejas Bavishi <te...@patni.com>.
Hi

Possible solution:
Write tags to check if the error message is set in the request and
correspondingly apply the style on the text boxes to render them in RED
color and also show the same error message.

Thanks & regards
Tejas

-----Original Message-----
From: Krishna, Hari [mailto:HKrishn1@Templeton.com]
Sent: Thursday, August 10, 2006 12:03 PM
To: user@struts.apache.org
Subject: Validation message Help


Hi
I have a registration page where i have a list of text boxes (all are
mandatory).Is it possible to show one single error message for all the
fields while highlighting all of them in RED color?Please get me ur advice.I
know only one way of validation where we show multiple mandatory validation
messages for multiple fields while highlighting all of them in RED color. I
need one message but multiple highlighting .

With Best Regards,
I.Hari krishna.
------------------------------------------------------------
Franklin Templeton Investments
+91- 44 - 24407000 Extn:17123
--------------------------------------------------------------
Notice:  All email and instant messages (including attachments) sent to
or from Franklin Templeton Investments (FTI) personnel may be retained,
monitored and/or reviewed by FTI and its agents, or authorized
law enforcement personnel, without further notice or consent.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org

http://www.patni.com
World-Wide Partnerships. World-Class Solutions.
_____________________________________________________________________

This e-mail message may contain proprietary, confidential or legally
privileged information for the sole use of the person or entity to
whom this message was originally addressed. Any review, e-transmission
dissemination or other use of or taking of any action in reliance upon
this information by persons or entities other than the intended
recipient is prohibited. If you have received this e-mail in error
kindly delete  this e-mail from your records. If it appears that this
mail has been forwarded to you without proper authority, please notify
us immediately at netadmin@patni.com and delete this mail. 
_____________________________________________________________________