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:

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)