PlugBits
PlugBits Plugins & Extensions for kintone
← Back to Text Rule Builder

Text Rule Builder Manual

1. What this plug-in does

This plug-in looks at a record's values and automatically enters text that matches the record's conditions into a specified text (single-line text) field.

2. Opening the configuration screen

List of plug-ins in app settings

  1. Open the target app (this manual uses the "Inquiry Management" app as an example).
  2. Open "App Settings" in the upper right.
  3. From "Plug-ins" in the left-hand menu, select Text Rule Builder Plug-in.

3. Setting the field where text is entered

Top of the configuration screen (license field and title)

From top to bottom, the configuration screen shows the license field, then the title and version number, then "Where to enter text" (on the left) and "Rule sets" (on the right).

The field used for text output itself cannot be referenced in a rule's conditions or formulas (doing so causes an error when saving).

Overview of field settings and rule sets

4. Creating rule sets

Here you create a "rule set" (a group of conditions). Within a single rule set, you can arrange multiple "rules" (condition rows) in order.

Settings within each "rule":

Detail of a rule's condition rows

Evaluation order and what happens when nothing matches

Default value and rule test

5. List of comparison types (operators)

The available comparison types depend on the field type.

For "Other field" and "Formula," comparisons are only possible between matching types (number with number, text with text, date and date-and-time can be combined, and radio button/drop-down can only use "Equals"/"Does not equal"). Options such as "Is empty," "Is not empty," and "Today"/"Yesterday"/"Tomorrow" do not use a comparison source.

6. Rule test

(The screenshot is shared with Section 4.)

At the bottom of each rule set is a "Rule test" area where you can check the behavior before saving.

  1. Enter values for the fields used in the conditions.
  2. Click Test.
  3. The "Result" (the text that would be output), the "Matching rule," and the "Reason" are displayed.

If you change the condition settings, the result is automatically cleared (click Test again to re-check). This rule test only checks behavior within the configuration screen and does not change any actual records.

7. Using it on the entry screen

Automatic input and a locked output field on the entry screen

Once you save your settings and update the app, this works on the Create and Edit screens of the target app.

8. Common troubleshooting points

No text appears in the output field

The wrong text is entered

Automatic input doesn't work in kintone mobile

An error appears when saving

9. Supported environment

PC browsers (latest versions of Chrome/Edge). kintone mobile (the mobile app or mobile browser screens) is not supported. On mobile, the output field will not be filled in automatically.

10. Supported version

Supported version: 2.2.1

11. License (trial and purchase)

The license field is located at the top of the configuration screen.

12. Notes

Running kintone on your own?

PlugBits Launcher — jump to settings and copy field codes, all from the Ctrl+/ command palette. Just add it to your browser.