Home All Groups Group Topic Archive Search About

Have validators take up no space if control is valid

Author
21 Jan 2007 8:55 PM
David Thielen
Hi;

We have a problem that we have 7 validators for a form and while they are
hidden when the form values are ok - the hidden text does take up space
leaving a couple of blank lines that look wrong.

Is there a way to have validators that are valid take up no space on the form?

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

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

Author
22 Jan 2007 12:13 PM
Steven Cheng[MSFT]
Hello Dave,

As for the validators, are they still those custom validators you mentioned
in another thread?

For custom vaildator, since you can provide custom client-script function
as client-side validation handler, you can freely use your own script code
as you like. also, would you provide some code snippet and page fragment to
show us how are you currently doing?

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead



This posting is provided "AS IS" with no warranties, and confers no rights.
Author
22 Jan 2007 3:21 PM
David Thielen
No, it's a bunch of field required validators and one wildcard (email field)
and one matching (password field).

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

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




Show quoteHide quote
"Steven Cheng[MSFT]" wrote:

> Hello Dave,
>
> As for the validators, are they still those custom validators you mentioned
> in another thread?
>
> For custom vaildator, since you can provide custom client-script function
> as client-side validation handler, you can freely use your own script code
> as you like. also, would you provide some code snippet and page fragment to
> show us how are you currently doing?
>
> Sincerely,
>
> Steven Cheng
>
> Microsoft MSDN Online Support Lead
>

>
> This posting is provided "AS IS" with no warranties, and confers no rights.
>
>
>
>
>
>
>
>
>
Author
23 Jan 2007 6:11 AM
Steven Cheng[MSFT]
Thanks for the reply.

So the built-in validator's behavior doesn't quite meet your requirement
here. have you tried using custom script to do the validation through a
custom validator? So far it is not equite possible to customize the
built-in validators.

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead



This posting is provided "AS IS" with no warranties, and confers no rights.
Author
23 Jan 2007 5:20 PM
David Thielen
Ok thanks. I was hoping there was a way to not have the hidden text take up
space.

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

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




Show quoteHide quote
"Steven Cheng[MSFT]" wrote:

> Thanks for the reply.
>
> So the built-in validator's behavior doesn't quite meet your requirement
> here. have you tried using custom script to do the validation through a
> custom validator? So far it is not equite possible to customize the
> built-in validators.
>
> Sincerely,
>
> Steven Cheng
>
> Microsoft MSDN Online Support Lead
>

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