Introduction

The Format Validation in Custom Bots feature enables admins to set up real-time validations, ensuring that user input adheres to specific formats. This functionality instantly checks the data as it's entered, providing users with immediate feedback if their input doesn't meet the criteria.

Admins can create custom validations for various input types, including text, numeric, and alphanumeric fields, with additional rules like character length, text casing, and special character support. If a user's input doesn't comply with the validation rules, the system prompts them to correct their entry, ensuring only accurate data is submitted. This capability not only guides users to fix their entries in real-time but also streamlines data collection, reduces errors, and leads to faster issue resolutions.

Configuring Format Validation Rules

Follow the steps below to configure format validation rules.

  1. Navigate to Settings on your Helpshift toolbar.

  2. Click Format Validation Rules in the WORKFLOWS area.
    The Format Validation Rules page opens.
       

  3. Click NEW VALIDATION RULE.
    The New Validation Rule screen opens.   
  4. Add a Title for the New Validation Rule.

  5. (Optional) Add Validation Rule Description.

  6. In the New Validation Rule section, add conditions to create a validation rule to get input in a set format from your users.
     

    There are four types of conditions available for creating validation rules.

    1. Text Type
    2. Text Logic
    3. Character Limit
    4. Text Casing
      Please refer to the table below for details of the conditions to create a validation rule.
      Validation FiltersConditionsSupported values
      Text Typeis

      Enter Text Types from the below options:

      1. Alphabets
      2. Numbers
      3. Special Characters
      Text Logic
      1. starts with
      2. doesn’t start with
      3. ends with
      4. doesn’t end with
      5. contains any of
      Enter text
      Character Limit
      1. minimum
      2. maximum
      Enter a number
      Text Casing
      1. is lowercase
      2. is uppercase
      -
  7. In the Error Message field, enter an error message for the user if the input doesn’t match the validation.

  8. Click SAVE.
    Once you have created a format validation rule, click here to see how you can configure it in Custom Bots.

Notes:

  1. Validations are checked on ASCII characters (English, and Special Characters)

    1. It is recommended to use this in cases where only english characters are used for better accuracy. i.e: GameTag: #123ABCDE or Payment ID: 12345-67890-12345.

    2. To support other languages in validation rules, please include "Special Characters" from text type.

  2. Validation rules are only supported in Custom Bots.

  3. A maximum of 200 rules can be created.

End-User Experience