Re: select multiple 2 more cents

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 11636
interpreted = N
texte = If you want to use check boxes and append a file with multi-choices you need to have each check box be it's own variable. Then when you write to the file it would look like this.. ....&carriedprods=[form.1prod][form.2prod][form.3prod][form.4prod][/append] If the user clicks on the boxes associated with form.1prod and form.4prod those get written to carriedprods. And since form.2prods and form.3prods where not click there value is . I think if I check the formatting of declaring form.1prod, etc I would find that I included a space to seperate them ie: value=someproduct . This was done for display purposes and searching purposes. If this is the 100% correct way to do this is beyond me...but it works :) >Kenneth Grome wrote: >> >> >> >I'm trying to build a form with a multiple select option >> >> >
>> >> > >> >> I've never used tag with single choices ... so I'm interested in the answer to >> this as well. >> >> I am also interested to learn whether or not anyone has used multiple >> checkboxes in this manner ... and if checkboxes work better then multiple >> selection lists or not. > >Ken, I've been using checkboxes since Day 1. The syntax is kinda like >this: > >Choose one or more subject areas:
>
>SIZE=+1>Battles and Campaigns
>SIZE=+1>The Confederacy
>SIZE=+1>Gettysburg
>SIZE=+1>Generals and Other Leaders
>SIZE=+1>Historical Fiction: Civil War
>SIZE=+1>Histories and Reference
>SIZE=+1>Memoirs, Diaries and Letters
>SIZE=+1>Regimental Histories
>SIZE=+1>Video
>SIZE=+1>Osprey Series: Civil War
>SIZE=+1>All >

> =============================================== Gary Richter PanaVise Products, Inc. 7540 Colbert Dr. Reno, Nevada 89511 Ph: 702.850.2900 Fx: 702.850.2929 Email: grichter@panavise.com http://www.panavise.com =============================================== Associated Messages, from the most recent to the oldest:

    
  1. Re: select multiple 2 more cents (grichter@panavise.com (Gary Richter) 1997)
  2. Re: select multiple 2 more cents (John Hill 1997)
  3. Re: select multiple 2 more cents (grichter@panavise.com (Gary Richter) 1997)
If you want to use check boxes and append a file with multi-choices you need to have each check box be it's own variable. Then when you write to the file it would look like this.. ....&carriedprods=[form.1prod][form.2prod][form.3prod][form.4prod][/append] If the user clicks on the boxes associated with form.1prod and form.4prod those get written to carriedprods. And since form.2prods and form.3prods where not click there value is . I think if I check the formatting of declaring form.1prod, etc I would find that I included a space to seperate them ie: value=someproduct . This was done for display purposes and searching purposes. If this is the 100% correct way to do this is beyond me...but it works :) >Kenneth Grome wrote: >> >> >> >I'm trying to build a form with a multiple select option >> >> > >> >> > >> >> I've never used tag with single choices ... so I'm interested in the answer to >> this as well. >> >> I am also interested to learn whether or not anyone has used multiple >> checkboxes in this manner ... and if checkboxes work better then multiple >> selection lists or not. > >Ken, I've been using checkboxes since Day 1. The syntax is kinda like >this: > >Choose one or more subject areas:
>
>SIZE=+1>Battles and Campaigns
>SIZE=+1>The Confederacy
>SIZE=+1>Gettysburg
>SIZE=+1>Generals and Other Leaders
>SIZE=+1>Historical Fiction: Civil War
>SIZE=+1>Histories and Reference
>SIZE=+1>Memoirs, Diaries and Letters
>SIZE=+1>Regimental Histories
>SIZE=+1>Video
>SIZE=+1>Osprey Series: Civil War
>SIZE=+1>All >

> =============================================== Gary Richter PanaVise Products, Inc. 7540 Colbert Dr. Reno, Nevada 89511 Ph: 702.850.2900 Fx: 702.850.2929 Email: grichter@panavise.com http://www.panavise.com =============================================== grichter@panavise.com (Gary Richter)

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:

Search for 20 finds 2000, 200 Why? (1997) WebMerchant Error (1998) Sorting by date (1997) Multiple prices (1997) REDIRECT MULTIPLE RESULTS (2000) Kaaaaahhhhhhhnnnnnnn! (1997) [append] and SSL (1997) [searchString] (1997) Email within tmpl ? (1997) WebDNA Grep help wanted (2004) Two options to consider (2008) Base64 encryption limitations? (1999) Text limits in NT version? (1997) [WebDNA] re: (2012) WebCatalog can't find database (1997) where to put code (1998) (1997) Database not found in Include (2002) Username for Admin Group (1997) OK, here goes... (1997)