Directives

 

Home
Buy it!
Directives
Variables
Form Coding
Contact Us
GuestBook
A Sample Order Form
FAQ's
Events
Instructions

Field name Description
required list of required fields
recipient to; use "none" to skip email; default: 'formmail@HTTP_HOST'
cc cc
bcc bcc
email from
realname user name
subject subject of email; default: HTTP_HOST
printblankfields 0/1; default: 0 (no)
headings heading items appear above <hr>, presumably not "user" entered
columns column items are displayed in a tabular format
sendashtml 0/1; default: 1 (yes)
envreport TIMESTAMP, DATE, TIME, REMOTE_HOST', 'REMOTE_ADDR', 'REMOTE_USER', 'HTTP_USER_AGENT
redirect redirect to custom confirmation page; default: generate confirmation page
title title of confirmation page (if no redirect); default: "Thank you for your inquiry"
returnlinktitle text of hyperlink; default: "Click to return to home page"
returnlink action of hyperlink; default: HTTP_HOST
returnlinkwait seconds before meta-refresh to return_link; default: no refresh
printoption 0/1; default: 0 (no print button)
database name of the database to add record: "database/tablename"
switchchar switchchar for query items; default: ~
submit simply ignored
printconfig mostly ignored
sort not supported at this time
missingfieldsredirect replaced functionality
background background image for confirmation page
bgcolor background color
textcolor text color
linkcolor hyperlink color
vlinkcolor visited links color
alinkcolor active link color
sendmail the type of sendmail processor
CDOSYS
CDONTS
JMAIL
ASPEMAIL
smtpserver address of the smtp server
emailoptions no, noemail, nomail
html
text
copy
emailbody an optional email template. replaces standard formmail email template
dontupdate list of fields NOT to update in the database, such as "timestamp"
nextpage Does a response.redirect to this url
showsql show generated SQL & stop... for debugging
sql  
formmailresults normal - standard confirmation page
frontpage - simple "Record updated in table" message with javascript refresh ala Frontpage DRW stuff
success - Simple... just "SUCCESS" or "FAIL"
xml - An XML success/fail in <RESULT></RESULT>
formmailprefix allow for prefixing the formmail directives (to avoid confusion)
servertransfer does a server.tranfer instead of response.redirect
httpallowed a list of fields that may have "http://" in the text
fixphone a list of fields of phone numbers. if appropriate, strip off the crap and show as XXX-XXX-XXXX (if field contains exactly ten digits, otherwise use original value)
isDate a list of fields; test for valid date
isNumeric a list of fields; test for valid numeric

Formmail.us.
All content, text and photos within this website unless otherwise identified are property of FormMail.us and may not be reproduced, copied or hyperlinked without permission.
All content on this website is provided as informational only. Formmail.us makes no claim or warranty of fitness of purpose. Users of this product agree to hold Formmail and its associates harmless for any and all liabilities and damages unintended or otherwise from the installation, use, or misuse of said product.