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 Grady suggested, the old [If][Then][Else] statement and it worked like a dream.[If (([publication]=leaderpost)|([publicationsun]=Regina Sun)|([publicationKicks]=Kicks))] [Then][text show=f]AddTest=T[/text][/Then] [Else][text]message=[message][url]ALERT! PLEASE CHOOSE THE PUBLICATION(S) AD IS TO APPEAR!
[/url][/text][text]AddTest=F[/text][/else] [/If]Thanks again. ---------------------Ken MacMurchy web developer email: ken.macmurchy@leaderpost.com web: http://www.leaderpost.com 306-565-8299 1964 Park St. Regina, SK, Canada S4P 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:

    
  1. Re: Stumped by [thisUrl] ( devaulw@onebox.com 2006)
  2. Re: Stumped by [thisUrl] ( Jesse Proudman 2006)
  3. Re: Stumped by [thisUrl] ( "Dan Strong" 2006)
  4. Re: Stumped by [thisUrl] ( Stuart Tremain 2006)
  5. Re: Stumped by [thisUrl] ( Stuart Tremain 2006)
  6. Re: Stumped by [thisUrl] ( Jesse Proudman 2006)
  7. Stumped by [thisUrl] ( "Dan Strong" 2006)
  8. Re: Sorting... stumped. ( "Dan Strong" 2006)
  9. Re: Sorting... stumped. ( Frank Nordberg 2006)
  10. Re: Sorting... stumped. ( "Dan Strong" 2006)
  11. Re: Sorting... stumped. ( Alex McCombie 2006)
  12. Re: Sorting... stumped. ( "Dan Strong" 2006)
  13. Re: Sorting... stumped. ( Alex McCombie 2006)
  14. Re: Sorting... stumped. ( "Dan Strong" 2006)
  15. Re: Sorting... stumped. ( "Dan Strong" 2006)
  16. Re: Sorting... stumped. ( "Dan Strong" 2006)
  17. Sorting... stumped. ( "Dan Strong" 2006)
  18. Re: stumped (Ken MacMurchy 2001)
  19. Re: stumped (Ken MacMurchy 2001)
  20. Re: stumped (Ken MacMurchy 2001)
  21. Re: stumped [OT] (Andrew Simpson 2001)
  22. Re: stumped [OT] (Donovan Brooke 2001)
  23. Re: stumped (Ken MacMurchy 2001)
  24. Re: stumped [OT] (Andrew Simpson 2001)
  25. Re: stumped [OT] (Donovan Brooke 2001)
  26. Re: stumped (Ken MacMurchy 2001)
  27. Re: stumped (Rob Marquardt 2001)
  28. Re: stumped (Rob Marquardt 2001)
  29. Re: stumped (John Peacock 2001)
  30. Re: stumped (Anup Setty 2001)
  31. Re: stumped (Anup Setty 2001)
  32. Re: stumped (Anup Setty 2001)
  33. Re: stumped (Jeff Grady 2001)
  34. Re: stumped (Ken MacMurchy 2001)
  35. Re: stumped (Sally Reidy 2001)
  36. stumped (Ken MacMurchy 2001)
  37. Re: stumped (Joseph Sullivan 2001)
  38. Re: Showif = stumped? (Jeff Logan 2001)
  39. Re: Showif = stumped? (William DeVaul, Connected Collector, Inc. 2001)
  40. Re: Showif = stumped? (Jeff Logan 2001)
  41. Re: Showif = stumped? (Brian Boegershausen 2001)
  42. Re: Showif = stumped? (Michael Winston 2001)
  43. Re: Showif = stumped? (Anup Setty 2001)
  44. Showif = stumped? (Jeff Logan 2001)
  45. Re: real beginner stumped (Scott Anderson 2000)
  46. Re: real beginner stumped (chris h ssd 2000)
  47. Re: real beginner stumped (Anup Setty 2000)
  48. Re: real beginner stumped (Matt 2000)
  49. Re: real beginner stumped (Kim Ingram 2000)
  50. Re: real beginner stumped (chris h ssd 2000)
  51. real beginner stumped (chris h ssd 2000)
  52. Re: Stumped on ShipCosts.db Problem (Bob McPeak 2000)
  53. Re: Stumped on ShipCosts.db Problem (John Butler 2000)
  54. Re: SuperFlush Re: stumped on simple sort (Rob Marquardt 1999)
  55. SuperFlush Re: stumped on simple sort (Ricky Patten 1999)
  56. Re: stumped on simple sort (Kenneth Grome 1999)
  57. Re: stumped on simple sort (Nitai 1999)
  58. Re: stumped on simple sort (david@textileweb.net (TextileWeb - David) 1999)
  59. Re: stumped on simple sort (Will Starck 1999)
  60. stumped on simple sort (John Butler 1999)
  61. Re: Stumped (Phil Marshall 1999)
  62. Re: Stumped (PCS Technical Support 1999)
  63. Re: Stumped (Kenneth Grome 1999)
  64. Re: Stumped (Alex McCombie 1999)
  65. Re: Stumped (Alex McCombie 1999)
  66. Re: Stumped (Bob Minor 1999)
  67. Stumped (Alex McCombie 1999)
  68. Re: Stumped (Dave MacLeay 1999)
  69. Ok, I'm stumped (M.I.S. Webmaster 1998)
  70. Re: Still Stumped on ShowNext...HELP! (Marty Schmid 1997)
  71. Re: Still Stumped on ShowNext...HELP! (Marty Schmid 1997)
  72. Re: Still Stumped on ShowNext...HELP! (Kenneth Grome 1997)
  73. Re: Still Stumped on ShowNext...HELP! (Olin 1997)
  74. Re: Still Stumped on ShowNext...HELP! (Grant Hulbert 1997)
  75. Still Stumped on ShowNext...HELP! (Marty Schmid 1997)
  76. Stumped on ShowNext -using variables (Marty Schmid 1997)
  77. Re: Generating unique SKU from [cart] - Still Stumped... (Christer Olsson 1997)
  78. Generating unique SKU from [cart] - Still Stumped... (Marty Schmid 1997)
Hi all who helped with this, I ended up going with what Jeff Grady suggested, the old [if][Then][Else] statement and it worked like a dream.[If (([publication]=leaderpost)|([publicationsun]=Regina Sun)|([publicationKicks]=Kicks))] [Then][text show=f]AddTest=T[/text][/Then] [Else][text]message=[message][url]ALERT! PLEASE CHOOSE THE PUBLICATION(S) AD IS TO APPEAR!
[/url][/text][text]AddTest=F[/text][/else] [/If]Thanks again. ---------------------Ken MacMurchy web developer email: ken.macmurchy@leaderpost.com web: http://www.leaderpost.com 306-565-8299 1964 Park St. Regina, SK, Canada S4P 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)