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 created 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

 

XML document from Doc URI

The form designer ensure ensures 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.

Time, Date/Time Controls

The local time will be converted to and saved A  form with a time or date/time control will convert and save the local time in UTC format in the submissions submissons XML document.  Here is an example: <Order Time>15:42:00Z</Order Time>. The capital "ZThe time is followed by a capital  "T" (Time Zone).  The XML document, used to initialize a form with time or date/time controls will not work correctly, if the capital "T" after the time is necessary for proper initialization. The local time will be converted to and saved in UTC format and the date will be converted to the standard xsd:date format of yyyy-mm-dd In the submission XML document. Here is an example: <OrderDate>2021-01-01T05:00:00Z</OrderDate>. The capital "Z" after the time is necessary for proper initialization., is not included.  A form with a time or date/time control will generate an XML document similar to the following:

 

 

XML document from Post payload

...