Can I format phone numbers as users type using Script blocks?
I'm trying to auto-format phone numbers (like 1234567890 → (123) 456-7890) while users type in a Phone input field.
My Script block detects the typing and formats the number correctly in the console, but the formatted text doesn't show up in the actual input field that users see.
Is it possible to change what appears in Typebot input fields using client-side JavaScript? If so, how?
1 Reply
Formatting while typing is not possible unfortunately
Any issue you have withe Phone number input on Typebot?
It should work just fine