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:
Help name our technology! I found it (1997)
Can't add a field (1998)
WebCatalog Hosting (1996)
Fwd: Problems with Webcatalog Plug-in (1997)
Using Plug-In while running 1.6.1 (1997)
Faxing orders in place of email (1997)
alternate location for cookies (2001)
Refering page (1998)
Duplicate Carts (2000)
shipcost (1997)
No luck with taxes (1997)
Problems getting parameters passed into email. (1997)
Webcatalog 4.0 on Mac OS & WebStar (2000)
Adding new customer numbers sequentially (1997)
Tax Troubles (2003)
How is it done? (1998)
[WebDNA] NOT serving WebDNA, just running it locally. (2012)
WebDNA Solutions ... sorry! (1997)
OT: Collaborative Browsing (2000)
Authorize.net, SIM, tcpconnect and applescript (2003)