You can set your form to compress once the user submits it. This involves creating a submission button and setting its properties in the Advanced Designer Perspective.
Submit buttons let the user submit their completed form by HTTP or email. If you are working in a server environment, you will want to use HTTP routing. Email routing is most useful in environments where there is no server available, or where form users will not have access to Internet submissions.
XFDL files are compressed using a modified gzip
format; this format is unique to the Designer. You cannot view a compressed file in a text editor, but you can use the form in the Viewer and the Designer. Other compression software may not be able to decompress the forms.
To create a submit button and have the form compress when the user submits it:
Parent topic: Compressing forms
- From the Palette, click Submit Form and drop the button on the form.
The Properties window opens.
- Set the button properties and click OK to save changes and close the Properties window.
Now that the Submit Form button is on your form, set it to compress when the user clicks it.
- If the Advanced Properties are not already on, turn them on by clicking the down arrow in the Properties view. in the Properties view.
- Click Show Advanced Properties.
- Expand Transmit.
- In the transmitformat value field, type in the following:application/vnd.xfdl;content-encoding="base64-gzip"
The code for compressing the form may already be in the transmitformat
field. If it is, select it from the list rather than manually inserting it.
The form will be compressed when the user clicks the Submit
Saving form as HTML
You can set your form to save as HTML once the user submits it. This involves creating a submission button and setting its properties in the Advanced Designer Perspective.