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

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 35725
interpreted = N
texte = Your Honor; on 8/3/00 8:28 PM, the Defendant, Bob Sneidar, confessed:> > >> >> A while ago PCS support answered a checkbox question with the following: >> >> The way you tell if a checkbox form variable is is checked looks like >> this if the value of the checkbox is T: >> [ShowIf [myCheckBox]=T] >> it was checked!
>> [/ShowIf] >> >> The way you tell if that same checkbox is unchecked looks like this: >> [ShowIf [raw][myCheckBox][/raw]=[myCheckBox]] >> it wasn't checked!
>> [/ShowIf] >> >> However, I find that when I look at the incoming formvariables for a page, >> the checkbox formvariables will be listed if the boxes were checked, but >> will not be listed if the checkbox was unchecked on the preceding page. >> >> So how can the above be made to work? > > Can't you use > > [ShowIf [myCheckBox]=F] > it was checked!
> [/ShowIf] > > or else > > [ShowIf [myCheckBox]<>T] > it was checked!
> [/ShowIf] > > Bob > no, the first example should work, because...if there is a checkbox, then [mycheckbox] becomes 'T' right? so, [raw][mycheckbox][/raw] doesn't equal 'T'if there is no variable named [mycheckbox] then when webcat looks at that, it ends up with nothing and so just displays [mycheckbox] exactly.[raw][mycheckbox][/raw] essentially just makes the stuff inside [raw] display exactly as typed, so [mycheckbox]=[mycheckbox]Does that make sense?HTH-Aaron ****************************************************************** * Digital Speed Networks, and NineWire Productions have merged!! * * We are now NineWire Digital Solutions * * * ******************************************************************------------------------------------------------------------- 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)
Your Honor; on 8/3/00 8:28 PM, the Defendant, Bob Sneidar, confessed:> > >> >> A while ago PCS support answered a checkbox question with the following: >> >> The way you tell if a checkbox form variable is is checked looks like >> this if the value of the checkbox is T: >> [ShowIf [myCheckBox]=T] >> it was checked!
>> [/ShowIf] >> >> The way you tell if that same checkbox is unchecked looks like this: >> [ShowIf [raw][myCheckBox][/raw]=[myCheckBox]] >> it wasn't checked!
>> [/ShowIf] >> >> However, I find that when I look at the incoming formvariables for a page, >> the checkbox formvariables will be listed if the boxes were checked, but >> will not be listed if the checkbox was unchecked on the preceding page. >> >> So how can the above be made to work? > > Can't you use > > [ShowIf [myCheckBox]=F] > it was checked!
> [/ShowIf] > > or else > > [ShowIf [myCheckBox]<>T] > it was checked!
> [/ShowIf] > > Bob > no, the first example should work, because...if there is a checkbox, then [mycheckbox] becomes 'T' right? so, [raw][mycheckbox][/raw] doesn't equal 'T'if there is no variable named [mycheckbox] then when webcat looks at that, it ends up with nothing and so just displays [mycheckbox] exactly.[raw][mycheckbox][/raw] essentially just makes the stuff inside [raw] display exactly as typed, so [mycheckbox]=[mycheckbox]Does that make sense?HTH-Aaron ****************************************************************** * Digital Speed Networks, and NineWire Productions have merged!! * * We are now NineWire Digital Solutions * * * ******************************************************************------------------------------------------------------------- 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/ Aaron Lynch

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:

[UPPERCASE] (1997) WebCat2b13 Command Reference Doc error (1997) WebCat2 - [include] tags (1997) WebCat2 - storing unformatted date data? (1997) Multiple Pulldowns (1997) Size limit for tmpl editor ? (1997) WebCat2_Mac RETURNs in .db (1997) WebCat B13 Mac CGI -- Frames question (1997) Setting up WebCatalog with Retail Pro data (1996) How to Display text in empty fields (1997) WebCat2.0 acgi vs plugin (1997) Search in 2 or more catalogs (1997) unitshipcost vs shipcosts (1997) Format question WC Mac f3 (1997) showif field is number (1997) WebCat2b13MacPlugin - [math][date][/math] problem (1997) PIXO Support (1997) WebDNA update from Smith Micro (2002) question about checkboxes (1999) wish list (2002)