Usage Scenario: Getting the First 3 Letters of the User Name

In a registration form, you want to take the first 3 letters of the name entered by the user and generate a user code.

Scenario flow:

  • The user enters “John” in the fullname field.
  • In the Substring action:
    • Value: FormComponent.fullname
    • Starting Index: 0
    • Count: 3
  • The action result returns “Joh”.
  • This value can be used to generate the user ID: ID-Joh-2025