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

This WebDNA talk-list message is from

2008


It keeps the original formatting.
numero = 101193
interpreted = N
texte = 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 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)
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 Donovan Brooke

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:

[TaxableTotal] - not working with AOL and IE (1997) serial number (1998) html being uncooperative (2000) Showif, Hideif reverse logic ? (1997) Providing hard copy of database to client (1997) Re:need help please (1997) [WebDNA] remove html comments (2009) [OT] CSS div/span (2004) Re:2nd WebCatalog2 Feature Request (1996) WebCatalog can't find database (1997) [showif],[refferer],[include] in errormessages.db (2002) WebCat2b13MacPlugIn - [showif][search][/showif] (1997) All choices on IE different than Netscape (1997) WebCatalog Work (2001) WebCat2 - [include] tags (1997) Draft Manual, Tutorial, and more (1997) Date Sorting (1997) WebCat2: Found Items syntax, etc. (1997) Logging purchases (1997) For those of you not on the WebCatalog Beta... (1997)