Specification Forms

This page provides example code for creating a Specification and rendering a Form with the Integration Theme.

It also demonstrates registering custom Form navigation controls and Specification event listeners.

The shared config.js file for these examples is incomplete. Enter your own settings for the examples to function.

Render a Specification Form

View in SDK Docs

Custom navigation controls can be registered to page elements, and their visibility controlled automatically when enabled.


React to Specification events

Once rendered, a Specification exposes methods to register and react to events as required.

For more information and sample code, see the Events example.

Example: Open the browser console on this page and interact with the Form rendered above to view any events fired and data that is returned.

Get Specification Form data

View in SDK Docs

You can access the same Form data used to render the Form above for your own use, such as a custom Form renderer.

The data shown below represents the Form rendered above. Update your Form and press the button to get the latest data.