Re: [WebDNA] showif/sendmail question

This WebDNA talk-list message is from

2008


It keeps the original formatting.
numero = 100444
interpreted = N
texte = cw@e-wave.net wrote: > Greetings, > > Any idea why won't this code work? Each element [showif, sendmail, > lookup, formvariables] works fine separately, but not together... I would ask the same as Terry.. what is happening? I don't notice any syntax errors with the code itself.. however, code is hard to troubleshoot when out of its context. I just changed one thing to allow for hiding if the email is blank: [showif member^[type]] [text]toemail=[lookup db=prefs.db&lookinfield=pref&value=EMAIL_CC&returnfield=value][/text] [hideif [url][toemail][/url]=] [sendmail to=[toemail]&from=[convertchars db=convert_quotes.db][EMAIL][/convertchars]t&subject= Request] [formvariables name=__&exact=f] [getchars start=3][name][/getchars]: [value] [/formvariables] [/sendmail] [/hideif] [/showif] However, if you know your .db records have accurate emails, then you wouldn't have to do that check. Donovan -- 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] showif/sendmail question (Donovan Brooke 2008)
  2. Re: [WebDNA] showif/sendmail question ("Brian B. Burton" 2008)
  3. Re: [WebDNA] showif/sendmail question (Chris Wilkinson 2008)
  4. Re: [WebDNA] showif/sendmail question (Donovan Brooke 2008)
  5. Re: [WebDNA] showif/sendmail question ("Dan Strong" 2008)
  6. Re: [WebDNA] showif/sendmail question ("Dan Strong" 2008)
  7. Re: [WebDNA] showif/sendmail question (Terry Wilson 2008)
  8. Re: [WebDNA] showif/sendmail question ("cw@e-wave.net" 2008)
cw@e-wave.net wrote: > Greetings, > > Any idea why won't this code work? Each element [showif, sendmail, > lookup, formvariables] works fine separately, but not together... I would ask the same as Terry.. what is happening? I don't notice any syntax errors with the code itself.. however, code is hard to troubleshoot when out of its context. I just changed one thing to allow for hiding if the email is blank: [showif member^[type]] [text]toemail=[lookup db=prefs.db&lookinfield=pref&value=EMAIL_CC&returnfield=value][/text] [hideif [url][toemail][/url]=] [sendmail to=[toemail]&from=[convertchars db=convert_quotes.db][EMAIL][/convertchars]t&subject= Request] [formvariables name=__&exact=f] [getchars start=3][name][/getchars]: [value] [/formvariables] [/sendmail] [/hideif] [/showif] However, if you know your .db records have accurate emails, then you wouldn't have to do that check. Donovan -- 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:

[OT] Am I an Idiot? (2004) bye bye tax rate (1998) Email Problem (1997) [WC 2.1.30] Stack overflow. (2000) supressing math results (1997) [WebDNA] WebDNA7 config help (2012) Location of Browser Info.txt file (1997) [OT] Industry news from Australia (2000) customers order (1999) WebCat2 several catalogs? (1997) Extended [ConvertChars] (1997) _ in front of field name (1998) [WebDNA] Re:BCC and/or Character limit [sendmail] (2010) [WebDNA] filter out the exclaimation point (2017) searching by date ranges (2000) For those of you not on the WebCatalog Beta... (1997) Banner DNA (1997) Duplicate Cart Numbers (1999) NT beta ReadMe missing (b12-b15) (1997) Re:2nd WebCatalog2 Feature Request (1996)