Re: YACBQ.....(Yet another checkbox question)

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 35752
interpreted = N
texte = on 04.08.2000 15:42, Will Starck at daprez@tigernet.net wrote:> Ummm....my question actually centered around an unchecked box not returning > *anything* (not even its name) to the page in question. > > So, how can one make these comparisons work, if the variable name isn't even > returned? You still think this is a bug, right? It is pure HTML and in ancient times it *did* make sense. You could write a form and got a nice response on the page without any additional software.--- But to your question - Method 1[showif [v_box23]^v_box23] empty! [/showif]---Method 2[showif [clickme]=[raw][clickme][/raw]] nobody clicked me :( [/showif]---Method 3 Assuming you have 100 checkboxes, named v_box1 to v_box100, all deliver the value yes:[loop start=1&end=100] [text]v_box[index]=no[/text] [/loop][formvariables name=v_box&exact=f] [text][name]=[value][/text] [/formvariables]...got it? First you set all variables to no within the loop. Then some of them might be set to yes if a user has clicked on them. If you have many boxes and you really need values, this is the method of your choice.---Peter ------------------------------------------------------------- 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 Web Archive of this list is at: http://search.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: YACBQ.....(Yet another checkbox question) (John Butler 2000)
  2. Re: YACBQ.....(Yet another checkbox question) (Rob Marquardt 2000)
  3. Re: YACBQ.....(Yet another checkbox question) (Bob Sneidar 2000)
  4. Re: YACBQ.....(Yet another checkbox question) (Peter Ostry 2000)
  5. Re: YACBQ.....(Yet another checkbox question) (Bob Sneidar 2000)
  6. Re: YACBQ.....(Yet another checkbox question) (John Peacock 2000)
  7. Re: YACBQ.....(Yet another checkbox question) (Bob Sneidar 2000)
  8. Re: YACBQ.....(Yet another checkbox question) (Joseph D'Andrea 2000)
  9. Re: YACBQ.....(Yet another checkbox question) (Kenneth Grome 2000)
  10. Re: YACBQ.....(Yet another checkbox question) (Joseph D'Andrea 2000)
  11. Re: YACBQ.....(Yet another checkbox question) (Peter Ostry 2000)
  12. Re: YACBQ.....(Yet another checkbox question) (Will Starck 2000)
  13. Re: YACBQ.....(Yet another checkbox question) (WebDNA Support 2000)
  14. Re: YACBQ.....(Yet another checkbox question) (Bob Minor 2000)
  15. Re: YACBQ.....(Yet another checkbox question) (John Peacock 2000)
  16. Re: YACBQ.....(Yet another checkbox question) (Paul Fowler 2000)
  17. Re: YACBQ.....(Yet another checkbox question) (Rob Marquardt 2000)
  18. Re: YACBQ.....(Yet another checkbox question) (Bob Sneidar 2000)
  19. Re: YACBQ.....(Yet another checkbox question) (Kenneth Grome 2000)
  20. Re: YACBQ.....(Yet another checkbox question) (Peter Ostry 2000)
  21. Re: YACBQ.....(Yet another checkbox question) (Aaron Lynch 2000)
  22. Re: YACBQ.....(Yet another checkbox question) (Peter Ostry 2000)
  23. Re: YACBQ.....(Yet another checkbox question) (Britt T. 2000)
  24. Re: YACBQ.....(Yet another checkbox question) (John Butler 2000)
  25. Re: YACBQ.....(Yet another checkbox question) (Anup Setty 2000)
  26. Re: YACBQ.....(Yet another checkbox question) (Kim Ingram 2000)
  27. Re: YACBQ.....(Yet another checkbox question) (Will Starck 2000)
  28. Re: YACBQ.....(Yet another checkbox question) (Peter Ostry 2000)
  29. Re: YACBQ.....(Yet another checkbox question) (Aaron Lynch 2000)
  30. Re: YACBQ.....(Yet another checkbox question) (Peter Ostry 2000)
  31. Re: YACBQ.....(Yet another checkbox question) (Kenneth Grome 2000)
  32. Re: YACBQ.....(Yet another checkbox question) (Aaron Lynch 2000)
  33. Re: YACBQ.....(Yet another checkbox question) (Bob Sneidar 2000)
  34. YACBQ.....(Yet another checkbox question) (Will Starck 2000)
on 04.08.2000 15:42, Will Starck at daprez@tigernet.net wrote:> Ummm....my question actually centered around an unchecked box not returning > *anything* (not even its name) to the page in question. > > So, how can one make these comparisons work, if the variable name isn't even > returned? You still think this is a bug, right? It is pure HTML and in ancient times it *did* make sense. You could write a form and got a nice response on the page without any additional software.--- But to your question - Method 1[showif [v_box23]^v_box23] empty! [/showif]---Method 2[showif [clickme]=[raw][clickme][/raw]] nobody clicked me :( [/showif]---Method 3 Assuming you have 100 checkboxes, named v_box1 to v_box100, all deliver the value yes:[loop start=1&end=100] [text]v_box[index]=no[/text] [/loop][formvariables name=v_box&exact=f] [text][name]=[value][/text] [/formvariables]...got it? First you set all variables to no within the loop. Then some of them might be set to yes if a user has clicked on them. If you have many boxes and you really need values, this is the method of your choice.---Peter ------------------------------------------------------------- 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 Web Archive of this list is at: http://search.smithmicro.com/ 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:

method of payment (1997) [OT] Death Clock (2003) [OT] Who's got a cool link (2002) Eudora Plugin (1999) verify online (1997) [WebDNA] postfix and dna (2011) includes (2003) Re[2]: 2nd WebCatalog2 Feature Request (1996) Maximum of found items?? (2000) Tax on shipping (1998) [WebDNA] WebDNA 8.2 Ubuntu 14.04 - Mail Pref Error (2017) can WC render sites out? (1997) POP3 communication [OT?] (2003) Dynamic Pop Up Menus with Record Value Selected (1998) Timer Values on [redirect] (1998) Suffix Mapping (1997) [format 40s]text[/format] doesn't work (1997) b12 cannot limit records returned and more. (1997) WebCat2 beta 11 - new prefs ... (1997) Holy emails Batman! WebCat's Insane! (2003)