Re: multiple selected Checkboxes

This WebDNA talk-list message is from

1998


It keeps the original formatting.
numero = 18732
interpreted = N
texte = At 14:41 Uhr 07.07.1998, Sue Ann Sanders wrote:>...On my Results page, I have a >Form with a Checkbox next to each line. And this Form sends the values of >the fields in each line that's checked... >This was working fine until I checked 2 boxes. I only get the first line >sent to me in email.>This is what I have in my Search Results page (I've cut the Table tags >out): >
> > [foundItems] > > ... > [/foundItems]>So how do I get multiple selected Checkboxes to show up in my email? It looks as if you repeat the tag of the checkbox for each item within the [founditems] loop. This results in multiple checkboxes with the same name. Have you tried [formvariables] on the following page to see which names and values are passed by the form? Maybe you have to make the names somehow unique. You can do this by incrementing a counter variable for each item of [founditems] and add it to the name of the checkbox. Peter__________________________________________ Peter Ostry - po@ostry.com - www.ostry.com Ostry & Partner - Ostry Internet Solutions Auhofstrasse 29 A-1130 Vienna Austria fon ++43-1-8777454 fax ++43-1-8777454-21 Associated Messages, from the most recent to the oldest:

    
  1. Re: multiple selected Checkboxes (Sue Ann Sanders 1998)
  2. Re: multiple selected Checkboxes (Peter Ostry 1998)
  3. multiple selected Checkboxes (Sue Ann Sanders 1998)
At 14:41 Uhr 07.07.1998, Sue Ann Sanders wrote:>...On my Results page, I have a >Form with a Checkbox next to each line. And this Form sends the values of >the fields in each line that's checked... >This was working fine until I checked 2 boxes. I only get the first line >sent to me in email.>This is what I have in my Search Results page (I've cut the Table tags >out): > > > [founditems] > > ... > [/foundItems]>So how do I get multiple selected Checkboxes to show up in my email? It looks as if you repeat the tag of the checkbox for each item within the [founditems] loop. This results in multiple checkboxes with the same name. Have you tried [formvariables] on the following page to see which names and values are passed by the form? Maybe you have to make the names somehow unique. You can do this by incrementing a counter variable for each item of [founditems] and add it to the name of the checkbox. Peter__________________________________________ Peter Ostry - po@ostry.com - www.ostry.com Ostry & Partner - Ostry Internet Solutions Auhofstrasse 29 A-1130 Vienna Austria fon ++43-1-8777454 fax ++43-1-8777454-21 Peter Ostry

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:

All choices on IE different than Netscape (1997) Logging purchases (1997) Saving [referrer] for later use (1997) webten vs. webstar (1998) Bug Report, maybe (1997) America Online Issues (1998) Location of Browser Info.txt file (1997) & not allowed in db by definition? (1999) Mac: [ListFiles] bug alert (1997) WebCat2b12 CGI Mac - [shownext] problem (1997) WebCatalog + Linux + ODBC + Oracle ! ? (2000) RE: [taxRate] [TaxTotal] ? (1997) Append - form based command (1999) Mac Typhoon, WebCatalog Plugins Work Better With FireSite Now (1998) Document Contains No Data! (1997) referrer variable (1997) [url] link (1998) delete file (2000) PSC recommends what date format yr 2000??? (1997) Founditems (1998)