.NET Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsProgramming.NET Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old July 25th, 2003, 01:48 PM
serenai serenai is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Posts: 1 serenai User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via Yahoo to serenai
Question Strange Validation Scenario, Can't Solve. Any ideas?

I have a web form that needs to validate address field in Sweden. But in Sweden, a lot of addresses don't have addresses so I cannot use RequiredFieldValidator.

I am still required to make this active, to at least give the user an opportunity to type in an address IF they had one.

I then tried a CustomValidator but by design, the CustomValidator event will not fire if the field is left blank so there goes that idea...

I'm kinda stuck at this point. Anyone has any ideas? Changing the business logic is not going to happen.

To recap, form field needs to validate if left blank. However, we are accepting 'blank spaces' as a substitute if no address is available. Oh, and this needs to show up in the validationsummary which I'm using for the rest of the form fields that are legitimately using requiredfieldvalidator.

Thanks!

Reply With Quote
Reply

Viewing: ASP Free ForumsProgramming.NET Development > Strange Validation Scenario, Can't Solve. Any ideas?


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway
Stay green...Green IT