Re: YACBQ.....(Yet another checkbox question)
This WebDNA talk-list message is from 2000
It keeps the original formatting.
numero = 35948
interpreted = N
texte = check the archives...people have posted excellent error checking routines that can check for all kinds ofthings:null valuesblanks valuesnumbersemail addresses (at least verfiy that it *could* be an email address)number of charsetc......all after one post, and then redirect back with proper messages explaining to theuser what was wrong...I assume applescript would be much slower and anyway a hassle when we already havegood error checking using webcat.if you make a real effort to find it in the archives and can't, and want it, then I candig out mine.-JohnBob Sneidar wrote:> tee hee. ;-)>> 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?>> --> Sincerely,> Bob Sneidar> Systems Manager> The Word For Today>> > From: John Peacock
> > Reply-To: (WebCatalog Talk)> > Date: Mon, 7 Aug 2000 13:07:04> > To: (WebCatalog Talk)> > Subject: Re: YACBQ.....(Yet another checkbox question)> >> > It is just you! :~}> >> > Seriously, though, the HTTP standards dictate that checkboxes do not> > exist as form variables unless they are checked. It has absolutely> > nothing to do with WebCatalog.>> -------------------------------------------------------------> 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/
Associated Messages, from the most recent to the oldest:
check the archives...people have posted excellent error checking routines that can check for all kinds ofthings:null valuesblanks valuesnumbersemail addresses (at least verfiy that it *could* be an email address)number of charsetc......all after one post, and then redirect back with proper messages explaining to theuser what was wrong...I assume applescript would be much slower and anyway a hassle when we already havegood error checking using webcat.if you make a real effort to find it in the archives and can't, and want it, then I candig out mine.-JohnBob Sneidar wrote:> tee hee. ;-)>> 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?>> --> Sincerely,> Bob Sneidar> Systems Manager> The Word For Today>> > From: John Peacock > > Reply-To: (WebCatalog Talk)> > Date: Mon, 7 Aug 2000 13:07:04> > To: (WebCatalog Talk)> > Subject: Re: YACBQ.....(Yet another checkbox question)> >> > It is just you! :~}> >> > Seriously, though, the HTTP standards dictate that checkboxes do not> > exist as form variables unless they are checked. It has absolutely> > nothing to do with WebCatalog.>> -------------------------------------------------------------> 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/
John Butler
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:
trouble updating records in database (1998)
(2000)
GD Scumbucket Spammer (2004)
[WebDNA] Froala Editor working with WebDNA (2016)
Date search - yes or no (1997)
syntax question, not in online refernce (1997)
Database Sizes (2000)
WebCat2final1 crashes (1997)
WebCat2 - storing unformatted date data? (1997)
database paths/names, and a typo (1997)
Signal Raised (1997)
Thankyou.tpl (2000)
No shipping systems available? (1998)
Web Catalog 2 demo (1997)
SIMS Email Question (2003)
shipcost (1997)
Error: Can't open order file. (2005)
Search Help Please (1998)
webcat method for waiting specific amount of time? (2000)
Clear command and ShoppingCart.tmpl (1997)