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 that you are searching for as well as the search type (eq,bw etc). And of course you 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 to search ie: _searchfield 2. In your search term field you'll be setting your search term variable ie: _searchterm 3. 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 helps Marty Schmid Artwerks >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:

    
  1. Re: [WebDNA] Valid input from a post search form (Tom Duke 2013)
  2. Re: [WebDNA] Valid input from a post search form (Govinda 2013)
  3. Re: [WebDNA] Valid input from a post search form (Kenneth Grome 2013)
  4. Re: [WebDNA] Valid input from a post search form (William DeVaul 2013)
  5. [WebDNA] Valid input from a post search form (Tom Duke 2013)
  6. Re: Search Form (WebDNA Support 2000)
  7. Re: Search Form (WebDNA Support 2000)
  8. Re: Search Form (Marty Schmid 2000)
  9. Search Form (John s Lists 2000)
  10. Re: search form problem.. (Grant Hulbert 1997)
  11. Re: search form problem.. (simonb 1997)
  12. Re: search form problem.. (simonb 1997)
  13. Re: search form problem.. (simonb 1997)
  14. Re: search form problem.. (simonb 1997)
  15. Re: search form problem.. (Kenneth Grome 1997)
  16. Re: search form problem.. (Grant Hulbert 1997)
  17. Re: search form problem.. (Kenneth Grome 1997)
  18. Re: search form problem.. (Grant Hulbert 1997)
  19. Re: search form problem.. (simonb 1997)
  20. search form problem.. (simonb 1997)
  21. Re: search form problem.. (Kenneth Grome 1997)
  22. Re: search form problem.. (Grant Hulbert 1997)
  23. Example Search Form (Damien Joldersma 1997)
You can use variables to set anything including the name of the fields that you are searching for as well as the search type (eq,bw etc). And of course you 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 to search ie: _searchfield 2. In your search term field you'll be setting your search term variable ie: _searchterm 3. 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 helps Marty Schmid Artwerks >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)