This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
doc:dev:form:form_to_email_cgi [2014/06/20 10:03] – vikki | doc:dev:form:form_to_email_cgi [2015/01/16 15:24] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 2: | Line 2: | ||
\\ | \\ | ||
- | Quck start sample: Enquiry form, Registration form, Form with date picker (popup calendar), Flash Sample\\ | + | Quick start sample: Enquiry form, Registration form, Form with date picker (popup calendar), Flash Sample\\ |
**Important: | **Important: | ||
Line 26: | Line 26: | ||
<FORM action=" | <FORM action=" | ||
- | ^Field Name ^Sample ^Detail^ | + | ^Field Name ^Detail^ |
- | |_formFrom ||Show in the FROM: section of the email| | + | |_formFrom |Show in the FROM: section of the email| |
- | |_formSubject | |Subject of email: The date & time stamp [datetime] will be replaced with the form submission date and time. [formRef] is a unique number genereted for the email, good for tracking use| | + | |_formSubject |Subject of email: The date & time stamp [datetime] will be replaced with the form submission date and time.\\ [formRef] is a unique number genereted for the email, good for tracking use| |
- | |_formTo | |Email for this form to send to. You can turn this to hidden field if you are sending this form to a permanent address. Separate each email with "," | + | |_formTo |Email for this form to send to.\\ You can turn this to hidden field if you are sending this form to a permanent address.\\ Separate each email with "," |
- | |_formOutputTemplate (new)| |The field/value format in email. By default, this is set to:\\ [< | + | |_formOutputTemplate (new)|The field/value format in email. By default, this is set to:\\ [< |
- | |_formOutputTemplate_header (new) | |The text to insert at the beginning of the email| | + | |_formOutputTemplate_header (new) |The text to insert at the beginning of the email| |
- | |_formOutputTemplate_footer (new) | |The text to insert at the end of the email| | + | |_formOutputTemplate_footer (new) |The text to insert at the end of the email| |
- | |_form_contenttype (new) | |The MIME email content type. " | + | |_form_contenttype (new) |The MIME email content type. " |
- | |_formNext | |Where do you want to go after this form submitted.\\ After a successful post, where do you want to bring the user to next? Specify the URL here (eg: http:// | + | |_formNext |Where do you want to go after this form submitted.\\ After a successful post, where do you want to bring the user to next?\\ Specify the URL here (eg: http:// |
- | |_formErr | |What do you want to show if this form has some incomplete entry (eg: http:// | + | |_formErr |What do you want to show if this form has some incomplete entry (eg: http:// |
- | |_formCleanFieldName (new)| |Use in pair with mandatory field name. Don't show the tilt " | + | |_formCleanFieldName (new)|Use in pair with mandatory field name.\\ Don't show the tilt " |
- | |_formVoidNum (new) | |Don't show the number prefix in field name if checked, eg: 1,name will be shown as name in email| | + | |_formVoidNum (new) |Don' |
- | |_formAllField | |All field wanted; checked if you want the user to fill-up all the fields| | + | |_formAllField |All field wanted; checked if you want the user to fill-up all the fields| |
- | |_form_custom_header (new) | |The additional MIME header to insert into the email. Usually not require. Format in Key: Data (eg: To: online@domain.tld)| | + | |_form_custom_header (new) |The additional MIME header to insert into the email. Usually not require. Format in Key: Data (eg: To: online@domain.tld)| |
- | |_formDateFormat (new) | |The custom date format. Available: YYYY (4 digits year), YY (2 digits year), MM (2 digits month), M (single digit month), DD and D. All date format in upper case. Time format as hh, h, mm, m, s, ss (lower case). Eg: YYYY/MM/DD hh:mm:ss returns 2010/03/30 13:22:00| | + | |_formDateFormat (new) |The custom date format. Available: YYYY (4 digits year), YY (2 digits year), MM (2 digits month), M (single digit month), DD and D. All date format in upper case. Time format as hh, h, mm, m, s, ss (lower case). Eg: YYYY/MM/DD hh:mm:ss returns 2010/03/30 13:22:00| |
- | |Mandatory field | |User must fill in this field - or error warning will be given after submit. All mandatory fields start with a tilt " | + | |Mandatory field |User must fill in this field - or error warning will be given after submit. All mandatory fields start with a tilt " |
- | |Custom field: prefix number order| |Any field name starts with a number, seperates by a comma ("," | + | |Custom field: prefix number order|Any field name starts with a number, seperates by a comma ("," |
- | |Custom field | |Any field you want| | + | |Custom field |Any field you want| |
- | |Custom field: POP-up | |Any pop-up field| | + | |Custom field: POP-up |Any pop-up field| |
- | |Custom field: Multiple selections | |Let user select multiple choice| | + | |Custom field: Multiple selections |Let user select multiple choice| |
- | |Custom control: Radio buttons | female | + | |Custom control: Radio buttons |Radio buttons| |
- | |Custom control: Check boxes |Option 1 Option 2 |Check boxes| | + | |Custom control: Check boxes |Check boxes| |
- | |Custom field: Large text| |Store more text| | + | |Custom field: Large text|Store more text| |
- | |Custom field: hidden| |There are 2 hidden fields in the sample. Values for these fields will also submit as data into the mail| | + | |Custom field: hidden|There are 2 hidden fields in the sample. Values for these fields will also submit as data into the mail| |
- | |Submit button | |You may change the label to anything| | + | |Submit button |You may change the label to anything| |
+ | |||
+ | View PDF version: {{: | ||
Jan. 2000\\ | Jan. 2000\\ |