Skip to main content

Set Connection Field via JS

Overview

The Set Connection Field via JS plugin enhances Tadabase forms by enabling dynamic value setting for connection fields using JavaScript. This plugin allows you to control and manipulate field values based on conditions or user interactions, offering flexibility for creating intuitive and responsive user experiences."

Use Cases

  • This plugin is ideal for applications where form fields need to be dynamically updated based on user input, such as in conditional form sections, dynamic relationship selections, or any scenario where the value of connection fields should change in real-time based on other form interactions.

Installing the plugin

Prerequisites:

  1. The page must have a form component
  2. The form must have an connections field 
  3. Javascript must be enabled (applicable if your're on trial account)

Step-by-Step Installation:

  1. Navigate to the page with this form, this can be a parent or child page. 
  2. Click on the Plugins
  3. Find the Set Connection Field via JS plugin
  4. Select the form 
  5. Select the connections field

Removing the Plugin

To remove the plugin, find the Javascript code that is surrounted with a comment for the plugin name and delete the code. Do the same for the CSS as well.