Form Logic

Form logic is a dedicated logic type used to define user inputs and their dynamic behavior in Forms 2.0. It replaces the legacy split between static inputs, configurators, and header input APIs with a single unified approach, making forms easier to configure, maintain, and debug while also improving performance.

A form logic can define the initial set of inputs, load value options when needed, and react to user interactions such as value changes or button clicks. It is assigned to supported logics and objects through the Form Logic field in the logic’s configuration.

Supported Objects

Form logic can be implemented in the following areas:

  • Data Loads – You can now implement forms within Data Loads to handle user inputs. The system uses a caching mechanism to store form logic names associated with pricing logic names to ensure performance when fetching these definitions.

  • Custom Forms – Used for standalone or embedded micro-apps.

  • Dashboards – Support for saving input values into preferences.

  • Rebate Records – Implementation within rebate record groups.

Forms are also supported in the following areas:

  • Quotes (lines and headers)

  • Agreements & Promotions (lines and headers)

  • Rebate Agreements (lines and headers)

  • Sales (compensation lines and headers)

  • Live Price Grids (headers)

  • Price Lists (headers)

  • Model Classes

  • Calculation Wizards

  • Calculated Field Sets