Re: Search Form
This WebDNA talk-list message is from 2000
It keeps the original formatting.
numero = 28200
interpreted = N
texte = You can use variables to set anything including the name of the fields thatyou are searching for as well as the search type (eq,bw etc). And of courseyou always want to use contexts on the next page to actually do the search.So...1. On your pulldown you'll set a variable which is the name of the field tosearch ie: _searchfield2. In your search term field you'll be setting your search term variableie: _searchterm3. On your form response page you'll use a search like the following:[search db=my.db&eq[_searchfield]datarq=[_searchterm]][founditems]whatever[/founditems][/search]Hope that helpsMarty SchmidArtwerks>I need some help....again.>>I am trying to devise a search form in which the user will select from a>pop-up menu which data field to search (i.e. Title, Author, Item #, etc.)>and then enter the search term in the next field on the screen.>>>How can I combine the selection from the pop-up menu with the search term to>pass along the appropriate information to WebCatalog?>>>>>John R. Benn, PetsForum Group>On CompuServe - The Net's Best Thing For Pets & Animals>>>>------------------------------------------------------------->Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server.>To end your Mail problems go to
.>>This message is sent to you because you are subscribed to> the mailing list .>To unsubscribe, E-mail to: >To switch to the DIGEST mode, E-mail to>-------------------------------------------------------------Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server.To end your Mail problems go to .This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to
Associated Messages, from the most recent to the oldest:
You can use variables to set anything including the name of the fields thatyou are searching for as well as the search type (eq,bw etc). And of courseyou always want to use contexts on the next page to actually do the search.So...1. On your pulldown you'll set a variable which is the name of the field tosearch ie: _searchfield2. In your search term field you'll be setting your search term variableie: _searchterm3. On your form response page you'll use a search like the following:[search db=my.db&eq[_searchfield]datarq=[_searchterm]][founditems]whatever[/founditems][/search]Hope that helpsMarty SchmidArtwerks>I need some help....again.>>I am trying to devise a search form in which the user will select from a>pop-up menu which data field to search (i.e. Title, Author, Item #, etc.)>and then enter the search term in the next field on the screen.>>>How can I combine the selection from the pop-up menu with the search term to>pass along the appropriate information to WebCatalog?>>>>>John R. Benn, PetsForum Group>On CompuServe - The Net's Best Thing For Pets & Animals>>>>------------------------------------------------------------->Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server.>To end your Mail problems go to .>>This message is sent to you because you are subscribed to> the mailing list .>To unsubscribe, E-mail to: >To switch to the DIGEST mode, E-mail to>-------------------------------------------------------------Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server.To end your Mail problems go to .This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to
Marty Schmid
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:
WebCat2: Master Counter snippet (1997)
Proper file locations (1997)
WebCat2 - many [carts] on one template page? (1997)
Looping control (1997)
WebCatalog2 Feature Feedback (1996)
File Uploads... (1997)
2.0 Info (1997)
Open source store builder (Merchant Maker?) (2003)
MATH PROBLEM (1997)
bannerads example idiot (1997)
about this server and links to who (1997)
Bulletin Board (1998)
[ShowNext] feature in 2.0 (1997)
State Coalition Approves Internet Sales Tax Plan (2002)
WebCat2 beta 11 - new prefs ... (1997)
Emailer (WebCat2) (1997)
[WebDNA] Different results for [THISURL] (2018)
Date Help! (2003)
Quit revisited (1997)
[Sum] function? (1997)