Standard Submissions Support

Introduction

Orbeon Forms supports most standard XForms features, including:

  • the specified processing processing model
  • events: xforms-submit, xforms-submit-serialize, xforms-submit-done, and xforms-submit-error
  • all HTTP and HTTPS methods
  • serializations: application/x-www-form-urlencoded, application/xml, application/json (SINCE Orbeon Forms 2016.1), multipart/form-data, as well as extensions.
  • replacements: all, instance, and text
  • SOAP support

One exception is the lack of support for multipart/related.

For more information, please visit the XForms 1.1 specification.

JSON support

See JSON support.

Disabling Validation and relevance checks

Orbeon Forms supports the XForms 1.1 validate and relevant attributes on <xf:submission>. These boolean attributes disable processing of validation and relevance respectively for a given submission:

<xf:submission id="my-submission"
    method="post"
    validate="false"
    relevant="false"
    resource="http://example.org/rest/draft/"
    replace="none"/>

Controlling serialization

Orbeon Forms supports the XForms 1.1 serialization on <xf:submission>. This is particularly useful to specify the value none with a get method:

<xf:submission id="my-submission"
    method="get"
    serialization="none"
    resource="http://example.org/document.xml"
    replace="instance"
    instance="my-instance"/>

Asynchronous submissions

See Asynchronous Submissions.

results matching ""

    No results matching ""