Help! How can I count characters in a text field?

I’m trying to make a website that detects when a text field contains 4 characters and then show a a box. i tried to use the length function but i’m not able to figure it out.

What event triggers the action to check?

Let say you want to to check as the user is typing, you could use the OnTextChange event of the text field.

If value [[this.text.length]] is greater than or equals 4
Show box

(You can even just change the “Value” dropdown in the condition editor to “Length of widget value”)

Find your text field, and add a Case to the OnTextChange event. In the case editor, add the condition, and then add the show action that shows the box.
show-box-4-characters.rp (45.2 KB)

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.