Clear Dynamic Form

Clear Dynamic Form

Kuika's Clear Dynamic Form action is used to clear the content of all fields in a Dynamic Form element in the user interface. This action is an ideal solution when restarting, resetting, or cleaning dynamically created forms is required.

This action is currently available in beta version and is still under development. It is recommended to test it carefully before using it in a production environment.

This action does not delete form fields from the database; it only resets the values displayed in the UI.

Technical Specifications

  • Form Clearing (UI Design Module): The Clear Dynamic Form action works with the following parameter:
    • Dynamic Form Component (Required): The dynamic form element to be cleared. Any Dynamic Form element defined in the user interface and selectable can be linked to this parameter.
  • Data Source Compatibility: The action only works on Dynamic Form elements that are UI elements.
    • The parameter is defined via Symbol Picker > Components.
  • Web Application Support: The Clear Dynamic Form action works in web applications.
Clear Dynamic Form Action Application Steps

1. Defining the Dynamic Form

  • A Dynamic Form element is defined on the UI (e.g. user-specific fields, product properties, application forms, etc.).
  • In this form, the user fills in the fields dynamically created by the system.

2. Defining the Clear Action

  • A ‘Clear’ or ‘Reset’ button is added below the form.
  • When the button is clicked:
    • + ADD ACTION > OnClick >EAV > Dynamic Form> Clear Dynamic Form action is added.
  • Dynamic Form Component parameter → Form element is selected.
Usage Scenario: Resetting an Application Form

On a job application screen, the user fills in the dynamically loaded ‘Additional Information’ fields. However, when they want to clear the form:

  1. They click the ‘Clear Form’ button.
  2. The Clear Dynamic Form action is triggered.
  3. All dynamic fields are cleared, and the form is reset.

This process improves the user experience and prevents incorrect data entry.

Clear Dynamic Form Action Advanced Customisations
  • Conditional Clearing: Only certain parts of the form can be cleared depending on specific fields (this action can be supported with additional actions such as Set Value).
  • Confirmation Request: The user can be asked for confirmation before clearing (with a modal).
  • Sequential Actions: An information message can be displayed to the user after clearing (Show Toast).

Technical Risks

  • Component Matching Issue: A defined Dynamic Form element must exist for the action to work.
  • Data Loss Warning: This action deletes temporary data entered by the user. It does not affect permanent records, but may create a sense of data loss if executed without warning the user.

The Clear Dynamic Form action is a practical tool that supports the flexibility of dynamic form structures on the Kuika platform and improves the user experience. It ensures that the form starts with a clean slate, particularly in applications with multiple fields, user-specific fields, or dynamically generated fields.

Other Related Content

No items found.

Glossary

No items found.

Alt Başlıklar