Re: stumped
This WebDNA talk-list message is from 2001
It keeps the original formatting.
numero = 39750
interpreted = N
texte = Hi all who helped with this, I ended up going with what Jeff Gradysuggested, the old [If][Then][Else] statement and it worked like a dream.[If (([publication]=leaderpost)|([publicationsun]=ReginaSun)|([publicationKicks]=Kicks))] [Then][text show=f]AddTest=T[/text][/Then] [Else][text]message=[message][url]ALERT! PLEASE CHOOSE THEPUBLICATION(S) AD IS TOAPPEAR!
[/url][/text][text]AddTest=F[/text][/else] [/If]Thanks again.---------------------Ken MacMurchyweb developeremail: ken.macmurchy@leaderpost.comweb: http://www.leaderpost.com306-565-82991964 Park St.Regina, SK, CanadaS4P 3G4> From: John Peacock
> Reply-To: (WebCatalog Talk)> Date: Mon, 29 Oct 2001 15:57:30> To: (WebCatalog Talk)> Subject: Re: stumped> > Ken MacMurchy wrote:>> >> Yes I did, but, when I use this code, I have to check all boxes to pass the>> form otherwise I get the message. I need to have it so at least one is>> chosen, but it doesn't matter which one or two or three are chosen.> > [!]All on one line[/!][math show=f]test=0> [showif [publication]^publication]+2[/showif]> [showif [publicationsun]^publicationsun]+4[/showif]> [showif [publicationkick]^publicationkick]+8[/showif]> +0[/math]> > [showif [test]=0]> [redirect ........]> [/showif]> > This way you can also quickly derive which was selected (10 means first and> third).> > HTH> > John> > -- > John Peacock> Director of Information Research and Technology> Rowman & Littlefield Publishing Group> 4720 Boston Way> Lanham, MD 20706> 301-459-3366 x.5010> fax 301-429-5747> > -------------------------------------------------------------> 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:
Hi all who helped with this, I ended up going with what Jeff Gradysuggested, the old [if][Then][Else] statement and it worked like a dream.[If (([publication]=leaderpost)|([publicationsun]=ReginaSun)|([publicationKicks]=Kicks))] [Then][text show=f]AddTest=T[/text][/Then] [Else][text]message=[message][url]ALERT! PLEASE CHOOSE THEPUBLICATION(S) AD IS TOAPPEAR!
[/url][/text][text]AddTest=F[/text][/else] [/If]Thanks again.---------------------Ken MacMurchyweb developeremail: ken.macmurchy@leaderpost.comweb: http://www.leaderpost.com306-565-82991964 Park St.Regina, SK, CanadaS4P 3G4> From: John Peacock > Reply-To: (WebCatalog Talk)> Date: Mon, 29 Oct 2001 15:57:30> To: (WebCatalog Talk)> Subject: Re: stumped> > Ken MacMurchy wrote:>> >> Yes I did, but, when I use this code, I have to check all boxes to pass the>> form otherwise I get the message. I need to have it so at least one is>> chosen, but it doesn't matter which one or two or three are chosen.> > [!]All on one line[/!][math show=f]test=0> [showif [publication]^publication]+2[/showif]> [showif [publicationsun]^publicationsun]+4[/showif]> [showif [publicationkick]^publicationkick]+8[/showif]> +0[/math]> > [showif [test]=0]> [redirect ........]> [/showif]> > This way you can also quickly derive which was selected (10 means first and> third).> > HTH> > John> > -- > John Peacock> Director of Information Research and Technology> Rowman & Littlefield Publishing Group> 4720 Boston Way> Lanham, MD 20706> 301-459-3366 x.5010> fax 301-429-5747> > -------------------------------------------------------------> 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/
Ken MacMurchy
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:
Linked lists and Recursive searching (2003)
Looping control (1997)
Searchable list archive (1997)
Initiating NewCart (1997)
Sorting Results (1999)
Emailer (1997)
Entry pages (was: WebCatalog MAJOR drawback) (1998)
WebCommerce: Folder organization ? (1997)
PCS Emailer's role ? (1997)
Context and commands (1998)
Follow-Up to: Removing [showif] makes a big difference in speed (1997)
Textarea Breaks (2000)
RE: URL too Long? (1997)
Frames (1997)
encryption seeds xing (1998)
Help name our technology! (1997)
WebCat2 - Getting to the browser's username/password data (1997)
Emailer setup (1997)
[WebDNA] [listallcontexts] ??? (2016)
calculating tax rates, mail order solutions and version 2 (1997)