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 aform 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 3Assuming 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 ofthem might be set to yes if a user has clicked on them. If you have manyboxes 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:
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 aform 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 3Assuming 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 ofthem might be set to yes if a user has clicked on them. If you have manyboxes 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:
WebDNAReference (2000)
pdf files? (2001)
relogin same user? (1998)
RE: boldwords funky (1998)
Include a big block of text (1997)
Running 2 two WebCatalog.acgi's (1996)
Email template names (1997)
OS Limitations (1998)
Here's how to kill a Butler Database. (1997)
Searching multiple fields (1997)
Sorting search results (1998)
New servers and new inline cache (1997)
WebCat2 as a chat server? (1997)
access denied problem (1997)
WebCat2: multiple currency support (1997)
webmerchant - Crediting Back (2000)
SKU (1997)
Last desperate attempt (1998)
Trouble with formula.db (1997)
(ot) sitemap generator (1998)