File Generation
Sometimes it's useful to generate online files that contain user submitted data and much more useful to send it by email. Predefined file variables let you easily include such files as attachments in generated emails.
- PDF
- PDF with Table view
- XLS
- XLS with Table view
- CSV
- DOC
PDF
Generate PDF file with all the form's data represented by rows.
For example, if you need to generate a PDF file with user submitted data and send it by email, specify it as Attachment: in your email template:
Syntax:
You will receive email with an attached PDF containing the data submitted.
Example:
Email template:
PDF with Table view
Same as above, but the data is output in a table view.
Syntax:
You will receive email with an attached PDF containing the data submitted.
Example:
Email template:
XLS
Returns a Microsoft Excel auto-generated file (all the data in one row)
Syntax:
Example:
Email template:
XLS with Table view
Returns a Microsoft Excel auto-generated file (all the data in a table)
Syntax:
Example:
Email template:
CSV
Return auto-generated CSV (comma separated values) file.
Syntax:
Example:
Email template:
DOC
Generates DOC file with predefined layout.
You need to predefine layout in .mht file, to do this you need to create HTML page as template for your DOC file and save it as .mht (for example in IE or Opera).
Syntax (in config.php):
variable - is the name of the variable that will contain path to generated file, you can send this path via email, or attach this file with this path using
"Attachment":
Email template:
File-generation is only available with the following licenses: Business, World Wide, ISP.