Re: searching by date
This WebDNA talk-list message is from 1998
It keeps the original formatting.
numero = 18246
interpreted = N
texte = Ken:The best way is to add a hidden input field or parameter to each search request (if you are using command=search style searching and your field is named CLASS_DATE):CLASS_DATEtype=date&geCLASS_DATEdatarq=[date]ORIf your using embedded [search] (which style-wise I'm in favor of in almost all situations) simply hardcode the above string into the embedded search.John.>I have a class catalog online, and I want to stop showing the classes that>have already been held.>>Currently folks have two ways to look at the catalog, clicking the all>search link, or entering specific information and searching.>>>What's the best way to do this?>>put a required search field checking the date of the class with the current>date?>>use a showif in the results page.>>or some other way??>>Ken Tuley Office: (505) 256-4269>Manager, Software & Training Services Fax: (505) 256-4452>APS Information Technology Services>220 Monroe SE tuley@aps.edu>Albuquerque, NM 87108 http://www.aps.edu John A. Hill, V.P. Marketing Pacific Coast SoftwareeCommerce / Web Developer Tools http://www.smithmicro.com
Associated Messages, from the most recent to the oldest:
Ken:The best way is to add a hidden input field or parameter to each search request (if you are using command=search style searching and your field is named CLASS_DATE):CLASS_DATEtype=date&geCLASS_DATEdatarq=
[date]ORIf your using embedded
[search] (which style-wise I'm in favor of in almost all situations) simply hardcode the above string into the embedded search.John.>I have a class catalog online, and I want to stop showing the classes that>have already been held.>>Currently folks have two ways to look at the catalog, clicking the all>search link, or entering specific information and searching.>>>What's the best way to do this?>>put a required search field checking the date of the class with the current>date?>>use a showif in the results page.>>or some other way??>>Ken Tuley Office: (505) 256-4269>Manager, Software & Training Services Fax: (505) 256-4452>APS Information Technology Services>220 Monroe SE tuley@aps.edu>Albuquerque, NM 87108 http://www.aps.edu John A. Hill, V.P. Marketing Pacific Coast SoftwareeCommerce / Web Developer Tools http://www.smithmicro.com
John Hill
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
Date Sorting (1997)
shipcost (1997)
View Source from cache (1997)
Last digit of Credit Card Stripped (1997)
External Images (1998)
Summing fields (1997)
OT: need bad code (2005)
RequiredFields notes ... (1997)
[Shell] question (2000)
A few questions. . . (1997)
F3 crashing server (1997)
E-mail Attachments (1997)
success - serial numbers and webmerch (1997)
[Fwd: Rotating Banners ... (was LinkExchange)] (1997)
I'm new be kind (1997)
3.0 to 4.0 (2000)
suffix mapping for NT? (1997)
Blog solution (2006)
Trouble with carts (2000)
webcat2b12 CGI -- Date comparisons (1997)