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 justchanged 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, thenyou wouldn't have to do that check.Donovan-- 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:
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 justchanged 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, thenyou wouldn't have to do that check.Donovan-- Donovan D. Brooke PH/FAX: 1 (608) 291-2024------------------------------------------------VPWebDNA Software Corporation16192 Coastal HighwayLewes, 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)