WebForms Component Templates

Form authors create forms in the WebForms Designer. To provide the form author with an idea of what the form will look like when published, the WebForms Designer uses a Form Component Template to render the form that a content author is creating. This same Component Template can also be used to publish the WebForm.

A Form Component Template has the following characteristics:

  • It is a dynamic Component Template that contains two sets of XSLT:
    • The Expand XSLT creates expanded Form XML in the Content Manager at publish time (and when previewing the Form).
    • The Render XSLT transforms the expanded Form XML to the final HTML representation of the Form on the Presentation Server at request time.
  • The Form Component Template outputs an XML document and publishes the Render XSLT separately.
  • Component Presentations based on this Component Template are published as dynamic Component Presentations. The WebForm Render XSLT is published separately from the Page. The WebForms Server renders the Form on the Presentation Server at request time.
  • The Component Template is allowed on a Page using dynamic assembly — this means that SDL Tridion Content Manager users can add a WebForm Component Presentation to a Page, just like any other Component Presentation.
  • The Component Template is associated with the Form Schema upon which the Form Components are based. This allows you to combine a Form Component with the Component Template to create a Component Presentation.

General tab:

Linked Schemas tab: