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 requestThe first double pipe is there to hide if the value of commentsX isnothing. However, since that entire block is being hidden if thevalue of [comments1] is nothing, it's a bit redundant. (doesn'thurt anything)You had said the first one works within a preview. If that previewinitiates another form (to trigger the sendmail), the form inputnames may have changed. find that the preview form, and you mayfind 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----------------------------------------------VPWebDNA Software Corporation16192 Coastal HighwayLewes, DE 19958
Associated Messages, from the most recent to the oldest:
Bob Minor wrote:> I am seeing 2 Pipes(|) at the beginning of the statement, this would > throw off the balance of your requestThe first double pipe is there to hide if the value of commentsX isnothing. However, since that entire block is being hidden if thevalue of [comments1] is nothing, it's a bit redundant. (doesn'thurt anything)You had said the first one works within a preview. If that previewinitiates another form (to trigger the sendmail), the form inputnames may have changed. find that the preview form, and you mayfind 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----------------------------------------------VPWebDNA Software Corporation16192 Coastal HighwayLewes, DE 19958
Donovan Brooke
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...