Home All Groups Group Topic Archive Search About

How can I show a * on required fields

Author
27 Feb 2007 8:03 PM
David Thielen
Hi;

My product manager wants the end of required controls to have a black *
after them. Unless they tried to go to the next screen (we're in a wizard)
and then they want a red * after and the validation messages up at the top.
The red only if they fail validation is a piece of cake. But how do I get the
black * to go away in that case?

--
thanks - dave
david_at_windward_dot_net
http://www.windwardreports.com

Cubicle Wars - http://www.windwardreports.com/film.htm

Author
27 Feb 2007 10:04 PM
Scott M.
You'd have to write your own validation instead of using the canned
controls.


Show quoteHide quote
"David Thielen" <thielen@nospam.nospam> wrote in message
news:91F7AD8B-B8D9-4495-BFFF-56285794C3D0@microsoft.com...
> Hi;
>
> My product manager wants the end of required controls to have a black *
> after them. Unless they tried to go to the next screen (we're in a wizard)
> and then they want a red * after and the validation messages up at the
> top.
> The red only if they fail validation is a piece of cake. But how do I get
> the
> black * to go away in that case?
>
> --
> thanks - dave
> david_at_windward_dot_net
> http://www.windwardreports.com
>
> Cubicle Wars - http://www.windwardreports.com/film.htm
>
>
Are all your drivers up to date? click for free checkup

Author
28 Feb 2007 7:42 AM
Steven Cheng[MSFT]
Hi Dave,

For this case, I think Scott's suggestion on using custom validation logic
would be reasonable since the built-in validator control's client-side
object model is not exposed. it would be quite difficult to customize it.

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead


This posting is provided "AS IS" with no warranties, and confers no rights.

Bookmark and Share