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:

WCS Newbie question (1997) WebDNA on Intel Mac (2006) SSL Certificates (2004) Re:redirect from the errorsMessages.db entry (1997) New 4.5 installer (2002) Frames and WebCat (1997) AOL and referrers on target=_blank (2000) [WebDNA] Anyone using WebDNA7 and Lion Server? (2011) Part Html part WebDNA (1997) Resume Catalog ? (1997) AutoCommit Preference? (1998) SetLineItem LineItem where out thou? (2000) Using a database with a short url (2000) Emailer & WebStar Mail and 551 Error (2000) log out (2001) Aquick question about replace (1999) submit a form using javascript in netscape (2001) [WebDNA] Encode cookies ONLY via "method=Base64" (2008) Bug Report, maybe (1997) New [If] command question (2000)