Re: YACBQ.....(Yet another checkbox question)
This WebDNA talk-list message is from 2000
It keeps the original formatting.
numero = 35751
interpreted = N
texte = the best way I have found to deal with check boxes is to put - after the check box in question (I usually put them just before the tag) - a hidden field with the same name as the check box and value= or of whatever else you need off, no, etc.>Will I just tried your demo page I don't get what you are showing >with that (I submit>the form and it reloads the page as if from scratch.... maybe if >you display a>[formvariables] it would be more meaningful?)>>Anyway as far as I understand it the guys have already answered your Q.>>[showif [URL][checkboxName][/URL]=[URL][raw][checkboxName][/raw][/URL]]>the checkbox was not checked before submit>[/showif]>>works precisely *because* the>unchecked box does not return *anything* (not even its name) to the >page in question.>>-John>>Will Starck 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?>>>> Look at a test here ----->>>>> http://shop.novaderm.com/novastore/test/checkboxtester.tpl>>>> -->> Will Starck>> Product and Technical Support>> NovaDerm.com>> http://www.novaderm.com>> techs@novaderm.com>> Toll free support line: 800-378-1740>>>> > From: Aaron Lynch
>> > Reply-To: (WebCatalog Talk)>> > Date: Thu, 03 Aug 2000 23:06:54>> > To: (WebCatalog Talk)>> > Subject: Re: YACBQ.....(Yet another checkbox question)>> >>> > Your Honor; on 8/3/00 9:24 PM, the Defendant, Peter Ostry, confessed:>> >>> >> on 04.08.2000 5:47, Aaron Lynch at a.list@ninewire.com wrote:>> >>>> >>> 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?>> >>>> >>>> >> Yes.>> >> This behavior is not a matter of Webcat but of HTML. Not activated>> >> checkboxes do not show up on following pages. Webcat gets no information>> >> from the form and if you write the variable name, this variable >>is undefined>> >> and therefore displayed as it is.>> >>> > Uhhhmmm Peter.... I wasn't asking, I was answering the original question>> > :)>> >>> > -Aaron>> >>> >>> > ------------------------------------------------------------->> > 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/>>>> ------------------------------------------------------------->> 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/>>>------------------------------------------------------------->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/-- ======================================================================Britt Thompson | PO Box 1989FishingWorld.com | Lindale, TX 75771Easttexas.com | Ph: (903) 882-8877 / Fax: (903) 882-3110======================================================================-------------------------------------------------------------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:
the best way I have found to deal with check boxes is to put - after the check box in question (I usually put them just before the tag) - a hidden field with the same name as the check box and value= or of whatever else you need off, no, etc.>Will I just tried your demo page I don't get what you are showing >with that (I submit>the form and it reloads the page as if from scratch.... maybe if >you display a>[formvariables] it would be more meaningful?)>>Anyway as far as I understand it the guys have already answered your Q.>>[showif [url][checkboxName][/URL]=[url][raw][checkboxName][/raw][/URL]]>the checkbox was not checked before submit>[/showif]>>works precisely *because* the>unchecked box does not return *anything* (not even its name) to the >page in question.>>-John>>Will Starck 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?>>>> Look at a test here ----->>>>> http://shop.novaderm.com/novastore/test/checkboxtester.tpl>>>> -->> Will Starck>> Product and Technical Support>> NovaDerm.com>> http://www.novaderm.com>> techs@novaderm.com>> Toll free support line: 800-378-1740>>>> > From: Aaron Lynch >> > Reply-To: (WebCatalog Talk)>> > Date: Thu, 03 Aug 2000 23:06:54>> > To: (WebCatalog Talk)>> > Subject: Re: YACBQ.....(Yet another checkbox question)>> >>> > Your Honor; on 8/3/00 9:24 PM, the Defendant, Peter Ostry, confessed:>> >>> >> on 04.08.2000 5:47, Aaron Lynch at a.list@ninewire.com wrote:>> >>>> >>> 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?>> >>>> >>>> >> Yes.>> >> This behavior is not a matter of Webcat but of HTML. Not activated>> >> checkboxes do not show up on following pages. Webcat gets no information>> >> from the form and if you write the variable name, this variable >>is undefined>> >> and therefore displayed as it is.>> >>> > Uhhhmmm Peter.... I wasn't asking, I was answering the original question>> > :)>> >>> > -Aaron>> >>> >>> > ------------------------------------------------------------->> > 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/>>>> ------------------------------------------------------------->> 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/>>>------------------------------------------------------------->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/-- ======================================================================Britt Thompson | PO Box 1989FishingWorld.com | Lindale, TX 75771Easttexas.com | Ph: (903) 882-8877 / Fax: (903) 882-3110======================================================================-------------------------------------------------------------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/
Britt T.
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:
Permissions / Restart WebDNA? (2005)
[WebDNA] Ubuntu and WebDNA (2019)
Overridding E-Mailer (1998)
FormVariable (1999)
'does not contain' operator needed ... (1997)
SHOWIF [var_with_backslash]^[value] (2002)
Plugin vs. CGI (1998)
Emailer [cart] file names (1997)
Field lenght (1998)
select multiple (1997)
WebDNA 5.2 (2004)
Form Submition (2003)
Multiple prices (1997)
Stay on Products page (2003)
WebDNA Challenge - Was: Why WebDNA is not popular (2002)
WC2b12: Yes, Formulas.db is for real (1997)
search for all (1998)
Image maps/Webcat (1997)
How do you TEAM Code? (2004)
Product Name in AdminResults.inc (2001)