Re: [WebDNA] [hideif]'s not working in [sendmail]

This WebDNA talk-list message is from

2008


It keeps the original formatting.
numero = 101201
interpreted = N
texte = Hi Donovan, Thanks for your note! The input is being passed through a [formvariables] tag: [formvariables name=Comments&exact=F] [/formvariables] which seems ok to me. The Comments are not fields in a database, so I'm still puzzled as to how to solve this problem. Any other ideas I can try? Thanks! Suzanne On Oct 17, 2008, at 11:56 AM, Donovan Brooke wrote: > Bob Minor wrote: >> I am seeing 2 Pipes(|) at the beginning of the statement, this >> would throw off the balance of your request > > > The first double pipe is there to hide if the value of commentsX is > nothing. However, since that entire block is being hidden if the > value of [comments1] is nothing, it's a bit redundant. (doesn't > hurt anything) > > You had said the first one works within a preview. If that preview > initiates another form (to trigger the sendmail), the form input > names may have changed. find that the preview form, and you may > find your answer. > > Donovan > > > > >> On Oct 17, 2008, at 10:15 AM, Suzanne Swift wrote: >>> Hi- >>> >>> I'm using the same piece of code in two separate places on my >>> site. In one place, (a preview), it works correctly...in the >>> other, (a [sendmail]), it doesn't work at all . Are the rules >>> different for using [hideif]s in a [sendmail] context? The only >>> other difference in how these two pieces of code are used is that >>> the snippet in the [sendmail] code falls within a [founditems] >>> tag. Once again using WebDNA 3.0... >>> >>> Here's a snippet: >>> >>> [hideif [url][Comments1][/url]=] >>> ______________________________________________ >>> News >>> ______________________________________________ >>> >>> [hideif ||[url][raw][Comments1][/raw][/url]|^|[url][Comments1][/ >>> url]|][Comments1][/hideif] >>> [hideif ||[url][raw][Comments2][/raw][/url]|^|[url][Comments2][/ >>> url]|][Comments2][/hideif] >>> [hideif ||[url][raw][Comments3][/raw][/url]|^|[url][Comments3][/ >>> url]|][Comments3][/hideif] >>> [/hideif] >>> >>> >>> Thanks! >>> Suzanne Swift >>> SpecSimple.com > > > -- > Donovan D. Brooke PH/FAX: 1 (608) 291-2024 > ---------------------------------------------- > VP > WebDNA Software Corporation > 16192 Coastal Highway > Lewes, DE 19958 > --------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us > old archives: http://dev.webdna.us/TalkListArchive/ Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] [hideif]'s not working in [sendmail] (Donovan Brooke 2008)
  2. Re: [WebDNA] [hideif]'s not working in [sendmail] (Donovan Brooke 2008)
  3. Re: [WebDNA] [hideif]'s not working in [sendmail] (Suzanne Swift 2008)
  4. Re: [WebDNA] [hideif]'s not working in [sendmail] (Donovan Brooke 2008)
  5. Re: [WebDNA] [hideif]'s not working in [sendmail] (Suzanne Swift 2008)
  6. Re: [WebDNA] [hideif]'s not working in [sendmail] (Donovan Brooke 2008)
  7. Re: [WebDNA] [hideif]'s not working in [sendmail] (Suzanne Swift 2008)
  8. Re: [WebDNA] [hideif]'s not working in [sendmail] (Donovan Brooke 2008)
  9. Re: [WebDNA] [hideif]'s not working in [sendmail] (Bob Minor 2008)
  10. Re: [WebDNA] [hideif]'s not working in [sendmail] (Terry Wilson 2008)
  11. [WebDNA] [hideif]'s not working in [sendmail] (Suzanne Swift 2008)
Hi Donovan, Thanks for your note! The input is being passed through a [formvariables] tag: [formvariables name=Comments&exact=F] [input][value][/input]"> [/formvariables] which seems ok to me. The Comments are not fields in a database, so I'm still puzzled as to how to solve this problem. Any other ideas I can try? Thanks! Suzanne On Oct 17, 2008, at 11:56 AM, Donovan Brooke wrote: > Bob Minor wrote: >> I am seeing 2 Pipes(|) at the beginning of the statement, this >> would throw off the balance of your request > > > The first double pipe is there to hide if the value of commentsX is > nothing. However, since that entire block is being hidden if the > value of [comments1] is nothing, it's a bit redundant. (doesn't > hurt anything) > > You had said the first one works within a preview. If that preview > initiates another form (to trigger the sendmail), the form input > names may have changed. find that the preview form, and you may > find your answer. > > Donovan > > > > >> On Oct 17, 2008, at 10:15 AM, Suzanne Swift wrote: >>> Hi- >>> >>> I'm using the same piece of code in two separate places on my >>> site. In one place, (a preview), it works correctly...in the >>> other, (a [sendmail]), it doesn't work at all . Are the rules >>> different for using [hideif]s in a [sendmail] context? The only >>> other difference in how these two pieces of code are used is that >>> the snippet in the [sendmail] code falls within a [founditems] >>> tag. Once again using WebDNA 3.0... >>> >>> Here's a snippet: >>> >>> [hideif [url][Comments1][/url]=] >>> ______________________________________________ >>> News >>> ______________________________________________ >>> >>> [hideif ||[url][raw][Comments1][/raw][/url]|^|[url][Comments1][/ >>> url]|][Comments1][/hideif] >>> [hideif ||[url][raw][Comments2][/raw][/url]|^|[url][Comments2][/ >>> url]|][Comments2][/hideif] >>> [hideif ||[url][raw][Comments3][/raw][/url]|^|[url][Comments3][/ >>> url]|][Comments3][/hideif] >>> [/hideif] >>> >>> >>> Thanks! >>> Suzanne Swift >>> SpecSimple.com > > > -- > Donovan D. Brooke PH/FAX: 1 (608) 291-2024 > ---------------------------------------------- > VP > WebDNA Software Corporation > 16192 Coastal Highway > Lewes, DE 19958 > --------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us > old archives: http://dev.webdna.us/TalkListArchive/ Suzanne Swift

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:

Re[2]: Date Time Oddness (1999) splitting numbers in webDNA? (1997) Before I Can Begin . . . (1998) XML Parse with XML WebDNA Syntax... (2004) Re2: Calculating multiple shipping... (1997) How can I Add several Items into the cart at once? (1997) Carrying over data? (1997) Sorting by date (1997) WebCatalog can't find database (1997) More on the email templates (1997) [WebDNA] [OT] the "Work in progress" thread. (2009) [date format] w/in sendmail (1997) Snake Bites (1997) [lineitems] and [writefile] (1998) Sku numbers (1997) webdelivery.tmpl???? (1997) Need help with emailer- 2 issues (1997) question: back button prevention (1997) test (2003) RE: Web*SSL and WebCatalog (1997)