Re: Fields/Forms Processing
This WebDNA talk-list message is from 1998
It keeps the original formatting.
numero = 19852
interpreted = N
texte = At 11:23 Uhr 09.09.1998, Scott Szretter wrote:>Just wondering, is there a way to write a script that would simply take>ALL the fields on a form, and email them?>>For example, within an email context, have a loop that loops through all>form fields and sends the name/value as is?Maybe like that?----------[sendmail to=bill@gates.com&from=steve@jobs.com&subject=hi!] [formvariables] [showif [name]!template] [name]: [value] [/showif] [/formvariables][/sendmail]----------You have to put most of the code in one line to avoid spaces and blanklines in the mail. Anyway, it won't look very nice...I personally prefer to construct the mail body with [writefile] and[appendfile] and send it at once:[sendmail...] [include mailbody][/sendmail]Peter__________________________________________Peter Ostry - po@ostry.com - www.ostry.comOstry & Partner - Ostry Internet SolutionsAuhofstrasse 29 A-1130 Vienna Austriafon ++43-1-8777454 fax ++43-1-8777454-21
Associated Messages, from the most recent to the oldest:
At 11:23 Uhr 09.09.1998, Scott Szretter wrote:>Just wondering, is there a way to write a script that would simply take>ALL the fields on a form, and email them?>>For example, within an email context, have a loop that loops through all>form fields and sends the name/value as is?Maybe like that?----------[sendmail to=bill@gates.com&from=steve@jobs.com&subject=hi!]
[formvariables] [showif [name]!template] [name]: [value] [/showif] [/formvariables][/sendmail]----------You have to put most of the code in one line to avoid spaces and blanklines in the mail. Anyway, it won't look very nice...I personally prefer to construct the mail body with
[writefile] and
[appendfile] and send it at once:[sendmail...] [include mailbody][/sendmail]Peter__________________________________________Peter Ostry - po@ostry.com - www.ostry.comOstry & Partner - Ostry Internet SolutionsAuhofstrasse 29 A-1130 Vienna Austriafon ++43-1-8777454 fax ++43-1-8777454-21
Peter Ostry
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:
Users and groups for local directories (1999)
Shopping cart not being assigned (1999)
A multi-processor savvy WebCatalog? (1997)
MacWEEK article help needed (1996)
notification solutions (1997)
Some ThankYou page problems (1997)
Memorial Day Weekend (2003)
WebCommerce: Folder organization ? (1997)
Banner DNA (1997)
Cold Fusion Buster (1997)
cart limit (2002)
[WebDNA] divisible by 1 (2011)
[WebDNA] Request to specify the sendmail file name (2015)
[WebDNA] remove html comments (2009)
Unexpected error (1997)
Nested tags count question (1997)
Updating Prices in Online Database (1999)
WebCat2b13MacPlugIn - [showif][search][/showif] (1997)
Webstar 1.3.1 PPC (1997)
sort problems....bug or brain fart? (1997)