Re: stumped

This WebDNA talk-list message is from

2001


It keeps the original formatting.
numero = 39746
interpreted = N
texte = If[nothingChecked]=YES], shouldn't I show the redirect instead of [hideif] to make the user check one of the choices?This is filling out a form to a thank-you/[sendmail] page. All my other logic works if they don't fill in a text area.This is my logic:[!][/!][showif [AddTest]=T] [text]message=Thank you for choosing saskclassifieds.com.[/text] [/showif][hideif [AddTest]=T] [redirect classifiedheader.tpl#Anchor-49575?message=[message]&[formvariables][hideif [name][value]^template][name]=[url][value][/url]&[/hideif][/formvariables]] [/hideif] > From: Anup Setty > Reply-To: (WebCatalog Talk) > Date: Mon, 29 Oct 2001 14:34:38 > To: (WebCatalog Talk) > Subject: Re: stumped > > [showif [publication]^publication][text]nothingChecked=YES[/text][/showif] > [showif > [publicationsun]^publicationsun][text]nothingChecked=YES[/text][/showif] > [showif > [publicationkick]^publicationkick][text]nothingChecked=YES[/text][/showif] > > [hideif [nothingChecked]=YES] > [redirect ........] > [/hideif] > > ALERT! PLEASE CHOOSE THE PUBLICATION(S) AD IS TO APPEAR > > > ==Try the above code it should work according to me > ==also your logic with the variable AddTest seems to be wrong... > > > HTH > > Anup Setty > > > > > ----- Original Message ----- > From: Ken MacMurchy > To: WebCatalog Talk > Sent: Monday, October 29, 2001 4:29 PM > Subject: Re: stumped > > >> Tried this, to no avail, maybe I have some bad syntax: >> >> [text]AddTest=T[/text] >> [text]message=[/text] >> >> [showif [publication]=][showif [publicationsun]=][showif >> > [publicationkick]=][text]nothingChecked=YES[/text][/showif][/showif][[/showi >> f] >> [showif [nothingChecked]=Yes][text]message=[message][url]ALERT! PLEASE >> CHOOSE THE PUBLICATION(S) AD IS TO APPEAR >> IN!
[/url][/text][text]AddTest=F[/text][/showif] >> >> [hideif [AddTest]=T] >> [redirect >> classifiedheader.tpl#Anchor-49575?message=[message]&[formvariables][hideif >> > [name][value]^template][name]=[url][value][/url]&[/hideif][/formvariables]] >> [/hideif] >> >> Ken >> >>> From: Sally Reidy >>> Reply-To: (WebCatalog Talk) >>> Date: Mon, 29 Oct 2001 12:56:35 >>> To: (WebCatalog Talk) >>> Subject: Re: stumped >>> >>> try this: >>> >>> This will determine if NOTHING is checked: >>> >>> [showif [checkbox1]=][showif [checkbox2]=][showif >>> [checkbox3]=][text]nothingChecked=YES[/text][/showif][/showif][[/showif] >>> >>> Then you can check the variable value of [nothingChecked] and if it is > YES, >>> return them to the form. >>> >>> >>> >>> At 10:16 AM 10/29/01 -0800, you wrote: >>>> They have three options or 2 of the 3 or 3 of the 3, but they must > choose at >>>> least one of the 3 check boxes so each one is not necessarily required > as >>>> long as one of them are chosen. >>>> >>>>> From: Joseph Sullivan >>>>> Reply-To: (WebCatalog Talk) >>>>> Date: Mon, 29 Oct 2001 09:03:35 >>>>> To: (WebCatalog Talk) >>>>> Subject: Re: stumped >>>>> >>>>> >>>> value=LOCATION,NAME,ADDRESS,CITY,STATE,PHONE> >>>>> >>>>> put this at the top of your form... >>>>> >>>>> >>>>> Joseph Sullivan >>>>> Mooseweb Corp >>>>> joe@mooseweb.com >>>>> (406) 889-3410 >>>>> >>>>> To return good for good is Human; evil for evil is Beast-Like; but > good for >>>>> evil is Christ-Like. >>>>> ----- Original Message ----- >>>>> From: Ken MacMurchy >>>>> To: WebCatalog Talk >>>>> Sent: Monday, October 29, 2001 10:48 AM >>>>> Subject: stumped >>>>> >>>>> >>>>>> I know this should be easy, but I seemed to be stumped. I have three > check >>>>>> boxes and I a form validation routine set-up to make sure all my > necessary >>>>>> fields have been filled out. I think I need a [showif] context to > send a >>>>>> message if there is not a least one of the check boxes selected. Any > ideas >>>>>> would be appreciated. >>>>>> >>>>>> Thanks in advance. >>>>>> --------------------- >>>>>> >>>>>> 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 >>>>>> >>>>>> >>>>>> ------------------------------------------------------------- >>>>>> 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/ >>>> >>>> >>>> ------------------------------------------------------------- >>>> 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/ >> >> >> ------------------------------------------------------------- >> 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/ ------------------------------------------------------------- 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)
If[nothingChecked]=YES], shouldn't I show the redirect instead of [hideif] to make the user check one of the choices?This is filling out a form to a thank-you/[sendmail] page. All my other logic works if they don't fill in a text area.This is my logic:[!][/!][showif [AddTest]=T] [text]message=Thank you for choosing saskclassifieds.com.[/text] [/showif][hideif [AddTest]=T] [redirect classifiedheader.tpl#Anchor-49575?message=[message]&[formvariables][hideif [name][value]^template][name]=[url][value][/url]&[/hideif][/formvariables]] [/hideif] > From: Anup Setty > Reply-To: (WebCatalog Talk) > Date: Mon, 29 Oct 2001 14:34:38 > To: (WebCatalog Talk) > Subject: Re: stumped > > [showif [publication]^publication][text]nothingChecked=YES[/text][/showif] > [showif > [publicationsun]^publicationsun][text]nothingChecked=YES[/text][/showif] > [showif > [publicationkick]^publicationkick][text]nothingChecked=YES[/text][/showif] > > [hideif [nothingChecked]=YES] > [redirect ........] > [/hideif] > > ALERT! PLEASE CHOOSE THE PUBLICATION(S) AD IS TO APPEAR > > > ==Try the above code it should work according to me > ==also your logic with the variable AddTest seems to be wrong... > > > HTH > > Anup Setty > > > > > ----- Original Message ----- > From: Ken MacMurchy > To: WebCatalog Talk > Sent: Monday, October 29, 2001 4:29 PM > Subject: Re: stumped > > >> Tried this, to no avail, maybe I have some bad syntax: >> >> [text]AddTest=T[/text] >> [text]message=[/text] >> >> [showif [publication]=][showif [publicationsun]=][showif >> > [publicationkick]=][text]nothingChecked=YES[/text][/showif][/showif][[/showi >> f] >> [showif [nothingChecked]=Yes][text]message=[message][url]ALERT! PLEASE >> CHOOSE THE PUBLICATION(S) AD IS TO APPEAR >> IN!
[/url][/text][text]AddTest=F[/text][/showif] >> >> [hideif [AddTest]=T] >> [redirect >> classifiedheader.tpl#Anchor-49575?message=[message]&[formvariables][hideif >> > [name][value]^template][name]=[url][value][/url]&[/hideif][/formvariables]] >> [/hideif] >> >> Ken >> >>> From: Sally Reidy >>> Reply-To: (WebCatalog Talk) >>> Date: Mon, 29 Oct 2001 12:56:35 >>> To: (WebCatalog Talk) >>> Subject: Re: stumped >>> >>> try this: >>> >>> This will determine if NOTHING is checked: >>> >>> [showif [checkbox1]=][showif [checkbox2]=][showif >>> [checkbox3]=][text]nothingChecked=YES[/text][/showif][/showif][[/showif] >>> >>> Then you can check the variable value of [nothingChecked] and if it is > YES, >>> return them to the form. >>> >>> >>> >>> At 10:16 AM 10/29/01 -0800, you wrote: >>>> They have three options or 2 of the 3 or 3 of the 3, but they must > choose at >>>> least one of the 3 check boxes so each one is not necessarily required > as >>>> long as one of them are chosen. >>>> >>>>> From: Joseph Sullivan >>>>> Reply-To: (WebCatalog Talk) >>>>> Date: Mon, 29 Oct 2001 09:03:35 >>>>> To: (WebCatalog Talk) >>>>> Subject: Re: stumped >>>>> >>>>> >>>> value=LOCATION,NAME,ADDRESS,CITY,STATE,PHONE> >>>>> >>>>> put this at the top of your form... >>>>> >>>>> >>>>> Joseph Sullivan >>>>> Mooseweb Corp >>>>> joe@mooseweb.com >>>>> (406) 889-3410 >>>>> >>>>> To return good for good is Human; evil for evil is Beast-Like; but > good for >>>>> evil is Christ-Like. >>>>> ----- Original Message ----- >>>>> From: Ken MacMurchy >>>>> To: WebCatalog Talk >>>>> Sent: Monday, October 29, 2001 10:48 AM >>>>> Subject: stumped >>>>> >>>>> >>>>>> I know this should be easy, but I seemed to be stumped. I have three > check >>>>>> boxes and I a form validation routine set-up to make sure all my > necessary >>>>>> fields have been filled out. I think I need a [showif] context to > send a >>>>>> message if there is not a least one of the check boxes selected. Any > ideas >>>>>> would be appreciated. >>>>>> >>>>>> Thanks in advance. >>>>>> --------------------- >>>>>> >>>>>> 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 >>>>>> >>>>>> >>>>>> ------------------------------------------------------------- >>>>>> 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/ >>>> >>>> >>>> ------------------------------------------------------------- >>>> 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/ >> >> >> ------------------------------------------------------------- >> 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/ ------------------------------------------------------------- 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:

[WebDNA] passing a variable in an include - precedence (2017) can WC render sites out? (1997) Is it possible to pause or wait a process (2000) emailer (1997) OT: Shell Script (2005) Quiestion (1997) [WebDNA] How to code a 301 redirect (2008) Suffix Mapping (1998) Keep away (1997) Bulletin Board.... (2000) 'does not contain' operator needed ... (1997) WebCatalog Plug-in for Webstar. (1997) I have observed and I am gone. (1998) Uh...can someone help me out with the b10? (1997) Upgrading old WebCat Database Files (1997) how to check for no value while using [URL] to prevent cr (1999) Search results templates (1996) [WebDNA] fastcgi 7+ & [cart]? (2010) math context ignores date prefs? (1998) WC2b12: Yes, Formulas.db is for real (1997)