Plugin Mode

Character count check

Summary

When you change a field value or save the record, check the character count of a field’s value and treat it as an error if it is outside a specified range. You can also set it to check only when certain conditions are met.

Smartphone support

This plugin supports smartphones.

How to use

Choose the fields, minimum and maximum character counts, and error message. Validation runs when a target field changes and when the record is saved. Optionally set conditions for validation.

When it runs

Depending on the settings, this customization runs at the following times. Any configured conditions are also evaluated.

  • Immediately before saving a record
  • When you edit and change a target field value

The page-display and field-change triggers exclude inline editing from the pencil icon on the list page.

Parameters

Enter or select a value for each setting unless it is marked optional.

Fields to Check

Select the fields whose text length will be checked. You can select more than one field.

The following field types can be selected.

  • Text
  • Text area

Minimum number of characters

Specify the minimum required text length.

Maximum number of characters

Specify the maximum allowed text length.

Error Message

Enter the message to show when the input fails the check. Explain how the user can correct it.

Initial value: The number of characters is out of range.

Condition

Set the condition for applying this plugin. Leave this unset to apply the plugin without this filter. You can configure up to 5 entries.

The following actions and conditions are useful when building similar behavior in customization mode.

Actions

Conditions