The old multiple selection bit

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 29822
interpreted = N
texte = I need to use multiple-selection lists for both queries and data entry.If I'm using [formvariables] to match up the form fields with their corresponding db fields, how would I ensure I could make sure each part of a multiple selection list was stored or queried?Right now, my HTML list on my add/search form looks like:The DNA processing this:[showif [action]=Append] [replace db=thing.db&eqSKUdatarq=[url][_sku][/url]&append=T] [formvariables name=_&exact=F][getchars start=2][name][/getchars] =[url][value][/url]&[/formvariables][/replace] Record Added
[commitdatabase db=thing.db] [/showif]only stores the first of the values selected.In the same way, this:[search db=thing.db&[formvariables name=_&exact=F] [getchars start=2][name][/getchars] =[url][value][/url]&[/formvariables]startat=[startat]] [numfound] record(s) matched your search.Only searches on the first value selected instead of an and/or search on each selection.-- Andrew Vernon avernon@dramatols.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: REPOST: The old multiple selection bit (Mike Davis 2000)
  2. REPOST: The old multiple selection bit (Andrew Vernon 2000)
  3. Re: The old multiple selection bit (Andrew Vernon 2000)
  4. Re: The old multiple selection bit (Kenneth Grome 2000)
  5. The old multiple selection bit (Andrew Vernon 2000)
I need to use multiple-selection lists for both queries and data entry.If I'm using [formvariables] to match up the form fields with their corresponding db fields, how would I ensure I could make sure each part of a multiple selection list was stored or queried?Right now, my HTML list on my add/search form looks like:The DNA processing this:[showif [action]=Append] [replace db=thing.db&eqSKUdatarq=[url][_sku][/url]&append=T] [formvariables name=_&exact=F][getchars start=2][name][/getchars] =[url][value][/url]&[/formvariables][/replace] Record Added
[commitdatabase db=thing.db] [/showif]only stores the first of the values selected.In the same way, this:[search db=thing.db&[formvariables name=_&exact=F] [getchars start=2][name][/getchars] =[url][value][/url]&[/formvariables]startat=[startat]] [numfound] record(s) matched your search.Only searches on the first value selected instead of an and/or search on each selection.-- Andrew Vernon avernon@dramatols.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 Andrew Vernon

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:

PCS Frames (1997) WebCat2b15MacPlugin - showing [math] (1997) [OT] HTML EMAIL program wanted (1999) Emailer or [sendmail] questions ... (1998) Need help!! on searching in two databases. (1998) Trouble with Netscape (1998) Include vs. lookup? (1998) WebCatalog2 Feature Feedback (1996) Re:E-mailer application times out (1998) WebCatalog-NT?'s (1996) Setting up shop (1997) Calendar using WebCatalog? (1997) Include a big block of text (1997) Running _every_ page through WebCat ? (1997) Looking for 5 to 12 shops with 3 URLs & statements (1997) [WebDNA] Problem with SendMail - seems succesfull but nothing to (2016) SiteGuard Admin Feature ? (1997) Setting up WebCatalog with Retail Pro data (1996) WCS Newbie question (1997) searching by date (1998)