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:

Secure server question (1997) Follow-Up to: Removing [showif] makes a big difference in speed (1997) WebCat2 - [format thousands] (1997) Automatic Download? (2003) WebCatalog2 Feature Feedback (1996) For those of you not on the WebCatalog Beta... (1997) Clickable Maps (1996) [WebDNA] RESTART WebDNA (2016) Question re: FlushDatabases (1997) remotely add + sign (1997) Date problems (1997) Where's Cart Created ? (1997) off topic - dna snipets (1997) Quantity (1998) How fast is your server? (2002) New servers and new inline cache (1997) WebCatalog for guestbook ? (1997) multiple search commands (1997) Fwd: Problem with order (1998) Searching multiple fields (1997)