Re: form to search page

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 29834
interpreted = N
texte = >Hello all.. >This is probably a simple question from a webcat newbie, but searching the archived messages, the pdf and the html docs has not solved my question.. It has to do with form variables and/or groupfields. I have tried various combinations of them, but come up with nothing found in the results page. >Here is the problem... > >I want to search a db from a form which contains a text field and a number of checkboxes (each checkbox is related to a field.. i.e. >
> > > > > > >the database looks like... > >city address pool view cards > >The results page gets all the variables (checking with the [formvariables] context) >but I cannot get the [search] context right... >I want to return only the info that meets all of the criteria that the visitor selects... > >Any suggestions?Put hidden form fields just before the ending
tag in your form so those field values get sent even when the checkboxes are not checked, or else set blank text variable values at the top of the next page, then use the values normally in your search context ...================================ Kenneth Grome, WebDNA Consultant 808-737-6499 http://webdna.net ================================------------------------------------------------------------- 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: form to search page (Kenneth Grome 2000)
  2. form to search page (John 2000)
>Hello all.. >This is probably a simple question from a webcat newbie, but searching the archived messages, the pdf and the html docs has not solved my question.. It has to do with form variables and/or groupfields. I have tried various combinations of them, but come up with nothing found in the results page. >Here is the problem... > >I want to search a db from a form which contains a text field and a number of checkboxes (each checkbox is related to a field.. i.e. >
> > > > > > >the database looks like... > >city address pool view cards > >The results page gets all the variables (checking with the [formvariables] context) >but I cannot get the [search] context right... >I want to return only the info that meets all of the criteria that the visitor selects... > >Any suggestions?Put hidden form fields just before the ending
tag in your form so those field values get sent even when the checkboxes are not checked, or else set blank text variable values at the top of the next page, then use the values normally in your search context ...================================ Kenneth Grome, WebDNA Consultant 808-737-6499 http://webdna.net ================================------------------------------------------------------------- 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 Kenneth Grome

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 field search needs ... (1998) WebDNA - MySQL - PHP (2003) WebCat2 beta 11 - new prefs ... (1997) FM and Webcat together? (1998) Math (1997) [Sum] function? (1997) WebCat2final1 crashes (1997) Form based Redirect (2001) Re:2nd WebCatalog2 Feature Request (1996) sorting and grouping (1998) Ok here is a question? (1997) PC Authorize & Webmerchant (1998) Looking for Paul @ Netro42??? (2000) Version number missing (was Mondo amounts of Mail [long]) (1999) Beta and new version questions? (1998) input problem (1999) Running 2 two WebCatalog.acgi's (1996) [SearchString] problem with [search] context (1997) Include vs. lookup? (1998) Page Breaks in Word (2003)