Re: YACBQ.....(Yet another checkbox question)
This WebDNA talk-list message is from 2000
It keeps the original formatting.
numero = 35941
interpreted = N
texte = On 8/8/00 3:04 pm, Bob Sneidar so noted...>I get it now. Still, my previous post about the showif context returning F>if passes a form variable that does not exist would work. Otherwise if an>error is returned you could use an iserror check but I do not see a WebDNA>tag for error checking.>>Now it may be possible on the Mac to write an Applescript because>Applescript DOES have an error checking method:>>[applescript]> try> set [mycheckbox] to [mycheckbox]> set [mycheckbox] to T> on error> set [mycheckbox] to F> return F> end try>[/applescript]>>if the first line generates an APPLESCRIPT error the second line never gets>executed, but instead the code within on error get's executed. If there is a>way to make this server side, saving it as a compiled script then call it>from within a template, then we are in business, on Macintoshes anyway.>>I am a newbie to this sort of thing, but feeding your checkbox variables to>this script would guarantee them to be T or F if the above script works like>I think it would.>>Any thoughts?If you absolutely, positively *have* to have a non-null boolean value for a checkbox (which you don't, really : ) it's simpler to implement in WC4.-- file: checkboxesAdNauseum.html ----------
[math show=f]nuCheck1=[check1]=1[/math][math show=f]nuCheck2=[check2]=1[/math][math show=f]nuCheck3=[check3]=1[/math]check 1 = [nuCheck1]
check 2 = [nuCheck2]
check 3 = [nuCheck3]
----------------------------------The nuCheckx variables will *always* exist, and be 1 for checked, 0 if not. Rob MarquardtDesigner/Resident WireheadToast Design800 Washington Avenue NorthMinneapolis MN 55401612.330.9863 v612.321.9424 fwww.toastdesign.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/
Associated Messages, from the most recent to the oldest:
On 8/8/00 3:04 pm, Bob Sneidar so noted...>I get it now. Still, my previous post about the showif context returning F>if passes a form variable that does not exist would work. Otherwise if an>error is returned you could use an iserror check but I do not see a WebDNA>tag for error checking.>>Now it may be possible on the Mac to write an Applescript because>Applescript DOES have an error checking method:>>[applescript]> try> set [mycheckbox] to [mycheckbox]> set [mycheckbox] to T> on error> set [mycheckbox] to F> return F> end try>[/applescript]>>if the first line generates an APPLESCRIPT error the second line never gets>executed, but instead the code within on error get's executed. If there is a>way to make this server side, saving it as a compiled script then call it>from within a template, then we are in business, on Macintoshes anyway.>>I am a newbie to this sort of thing, but feeding your checkbox variables to>this script would guarantee them to be T or F if the above script works like>I think it would.>>Any thoughts?If you absolutely, positively *have* to have a non-null boolean value for a checkbox (which you don't, really : ) it's simpler to implement in WC4.-- file: checkboxesAdNauseum.html ----------
[math show=f]nuCheck1=[check1]=1[/math][math show=f]nuCheck2=[check2]=1[/math][math show=f]nuCheck3=[check3]=1[/math]check 1 = [nuCheck1]
check 2 = [nuCheck2]
check 3 = [nuCheck3]
----------------------------------The nuCheckx variables will *always* exist, and be 1 for checked, 0 if not. Rob MarquardtDesigner/Resident WireheadToast Design800 Washington Avenue NorthMinneapolis MN 55401612.330.9863 v612.321.9424 fwww.toastdesign.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/
Rob Marquardt
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:
Secure Server (1997)
Artwork (1997)
Moving Files (2000)
WebCatalog for guestbook ? (1997)
WebCat2b15MacPlugin - showing [math] (1997)
WebMerchant...then what? (2001)
RAM crash (1998)
Free Code Snippet: DHTL News Ticker for WebDNA (2003)
Setting up shop (1997)
Multiply prices (1997)
Sorting Numbers (1997)
FlushDatabase Suggestion (1998)
Date Sorting (1997)
can we get string variables? (1998)
A question on sub-categories (1997)
problems with 2 tags (1997)
Can't use old cart file (was One more try) (1997)
WCS Newbie question (1997)
RE: strip .0 off off IPaddress (1998)
can WC render sites out? (1997)