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:
WebCat2: Items xx to xx shown, etc. (1997)
can we get string variables? (1998)
Sorting problem (1997)
[URL] Context not working (2000)
Requiring that certain fields be completed (1997)
Search 1 Field Twice? (2004)
RE: Emailer Set Up (1997)
Running _every_ page through WebCat ? (1997)
WebCat2b12plugin - [search] is broken ... not! (1997)
Looking for a host (1997)
too many nested tags ... (1997)
Protect (1997)
Dumb Question about Docs (1997)
[WebDNA] WebDNA slow processing (2011)
Custom WebCat Prefs ... (1997)
Popup Menu Options (1998)
Alais Shopping Cart Directory (1998)
error: Too many nested [xxx] contexts (1997)
CSS in HTML emails? (2003)
Upgrading old WebCat Database Files (1997)