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:
New iMac, now ... how do I make webdna serve .html files? (2005)
Multiple serial numbers (1997)
TaxTotal Problem (1997)
[WebDNA] [AddFields] Restrictions (2008)
PCS Frames (1997)
PCS Frames (1997)
[SubTotal] again (1998)
Encrypted items in DB (2001)
Re:Can this be done? (1997)
Archives... (1997)
To Cookie or Not to Cookie? Was: duplicate cart numbers (2002)
Re1000001: Setting up shop (1997)
Making Thumbnail Graphics (1997)
Solve the Problem, get the code! (2001)
UPDATE PROBLEM (1997)
WebCat2 several catalogs? (1997)
WC 2.0 frames feature (1997)
[WebDNA] .htm files (2008)
syntax question, not in online refernce (1997)
[WebDNA] Error 500 with SUMM=T (2017)