CodeCharge Studio
search Register Login  

Visual Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> ASP

 set minimum search query length? newbie

Print topic Send  topic

Author Message
infobih

Posts: 58
Posted: 10/19/2006, 12:24 PM

hi,
by default ccs search form give all search results when you hit submit button?
how can i set minimum query length, ie. 2 char to avoid crawlers to produce search results with zero strings?
thank you
View profile  Send private message
peterr


Posts: 5971
Posted: 10/19/2006, 12:44 PM

There may be several approaches, for example you can try using JavaScript to validate length of the entered text:
http://www.google.com/search?q=javascript+validate+text+length
You can also use some ASP function to check a field's length and use standard server validation routine:
http://docs.codecharge.com/studio3/html/ProgrammingTech...Validation.html
http://docs.codecharge.com/studio3/html/ProgrammingTech...Validation.html

_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Web Database

Join thousands of Web developers who build Web applications with minimal coding.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.