List Info

Thread: validation questions




validation questions
user name
2006-09-13 20:28:39
I will try the text value thing. I might have missed that.  

Thanks.
 
Stacey
-----Original Message-----
From: Discussion of building .NET applications targeted for
the Web
[mailtoOTNET-WE
BDISCUSS.DEVELOP.COM] On Behalf Of Adam Sills
Sent: Wednesday, September 13, 2006 4:26 PM
To: DOTNET-WEBDISCUSS.DEVELOP.COM
Subject: Re: [DOTNET-WEB] validation questions

The "norm" for this is to set the error message
of the validator
controls to
the message you want to display in the summary then set the
Text value
to an
asterisk.

When it validates only an asterisk will show up next to your
fields but
the
summary will get the full text.

Adam..

PS - do you really want your phone number available in your
signature
like
that on mailing list emails? 

-----Original Message-----
From: Discussion of building .NET applications targeted for
the Web
[mailtoOTNET-WE
BDISCUSS.DEVELOP.COM] On Behalf Of Stacey Levine
Sent: Wednesday, September 13, 2006 3:21 PM
To: DOTNET-WEBDISCUSS.DEVELOP.COM
Subject: [DOTNET-WEB] validation questions

I have a web page that has around 10 fields of user input. I
have put
validators on the form for each field.  I also have a
validation summary
at the top of the page.  I want to know if two things can
happen:



1) Is it possible for the validation summary text to have a
different
message than the validator itself?

2) Is it possible to show the validation summary text, but
not show the
individual validation lines?



For example.  The form asks for first name and last name.
There is a
validator against each of these that says "Please
enter first name.",
"Please enter last name."



If either or both of these are left off, the summary shows
the text and
on the page where I put the validator itself shows up ... so
it is there
twice.

===================================
This list is hosted by DevelopMentor(r)  http://www.develop.com

View archives and manage your subscription(s) at
http://discuss.develop.com


===================================
This list is hosted by DevelopMentorŪ  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )