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 11:38] – 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 28: | Line 28: | ||
^Field Name ^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' | |_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| | ||
Line 52: | Line 52: | ||
|Submit button |You may change the label to anything| | |Submit button |You may change the label to anything| | ||
- | ------------------------------------------------------------------------------------------- | + | View PDF version: {{:doc:dev:form: |
- | + | ||
- | === Sample === | + | |
- | + | ||
- | <form> | + | |
- | Fieldset " | + | |
- | Textbox | + | |
- | Textbox | + | |
- | Textbox | + | |
- | Textbox | + | |
- | Textbox | + | |
- | Textbox | + | |
- | Textbox | + | |
- | Textbox | + | |
- | number "Your Age" >13 <99 | + | |
- | email "Your E-Mail Address" | + | |
- | textbox " | + | |
- | password "Some password" | + | |
- | + | ||
- | fieldset "even more fields" | + | |
- | select " | + | |
- | static "Some static text that could be an agreement" | + | |
- | yesno "Read the agreement?" | + | |
- | textarea "Tell me about your self" | + | |
- | textbox "You need to write ' | + | |
- | submit " | + | |
- | </ | + | |
Jan. 2000\\ | Jan. 2000\\ |