Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Section
Column

Forms can be initialized by an XML document. This is most commonly done when the form is created from an XSD data source but can also be used with forms create from ' palette controls. The most common method is to connect the XML document to the form via the form's doc action manually set document URls wizard.

Column
width240px

On this page:

Table of Contents
maxLevel1

 

Initializing forms with XML documents

 

XML document from Doc URI

The form designer ensure the XML document used to initialize the form conforms is valid for the XSD schema used to create the form. If the XML document is invalid your form will fail to initialize and will display the message "There were problems initializing form".

...

Warning

The XML document must also use UTF-8 format encoding.

XML document from Post payload

In addition chaining multipe forms together via the Form Action Post with common data sources from XSD as described above, it is also possible to write a servlet or other web code that does a Post request with a form Url to the  Form Server. This request can also be coded to contain an XML document. If the XML document conforms to and is in the same namespace as one of the form's documents (either from-scratch palette controls or from XSD schema datasource), then the Form Server will use that XML document to initialize the form's fields.