Configuring form output configuring-form-output

CAUTION
AEM 6.4 has reached the end of extended support and this documentation is no longer updated. For further details, see our technical support periods. Find the supported versions here.

Specify the type of HTML output returned to the web browser specify-the-type-of-html-output-returned-to-the-web-browser

  1. In administration console, click Services > forms.

  2. Under Form Output, in the Output type list, select one of the following options:

    Full HTML: To render the form within full HTML tags (a complete HTML page). This value is the default.

    Form body: To render the form within <BODY> tags (not a complete HTML page).

  3. Click Save.

Specify the location where PDF content is rendered specify-the-location-where-pdf-content-is-rendered

  1. Under Form Output, in the Render at list, select one of the following options:

    Client: To render PDF forms within Adobe Acrobat or Adobe Reader. Client-side rendering improves the performance of AEM forms and applies only to PDFForm transformation.

    Server: To render PDF forms on the application server.

    Auto: To render the PDF form in the location specified by the dynamicRender configuration value of the XDP file. This value is the default.

  2. Click Save.

Configuring invocation of custom scripts before form submit configuring-invocation-of-custom-scripts-before-form-submit

Perform the following steps to enable the feature:

  1. Login to the administration console.

  2. Go to Services > forms.

  3. Specify the Output type as Form Body.

  4. Save the settings.

  5. Declare a JavaScript variable, __CUSTOM_SCRIPTS_VERSION, in the head section of the HTML code and set its value to 1.

    note note
    NOTE
    To disable the feature, you can remove the JavaScript variable or set its value to 0.
recommendation-more-help
a6ebf046-2b8b-4543-bd46-42a0d77792da