Features:
Supports predefined mask types:
Phone (999-999-9999)
999-999-9999
Date (MM/DD/YYYY)
MM/DD/YYYY
Time (HH:MM)
HH:MM
IP Address (999.999.999.999)
999.999.999.999
Currency (e.g., ₹ 999,999.99)
₹ 999,999.99
Email (validated via alias)
Supports custom mask patterns via the MaskPattern input
MaskPattern
Triggers the OnInputChanged event with the masked value on input blur
OnInputChanged
Easy to integrate into any form or screen
Uses the popular Inputmask.js library
Usage Instructions:
Add the InputMask component block to your screen.
Set the MaskType parameter to one of the predefined types (phone, date, etc.) or "custom".
MaskType
phone
date
"custom"
If you select "custom" for MaskType, provide your mask pattern string in the MaskPattern parameter.
Handle the OnInputChanged event:
Create a client or screen action to receive the masked value.
Bind this event handler to capture, save, or process the masked value as needed.
Test your screen:
Run the screen and type in the input field.
The mask will format the input live, and on blur, the component will send the masked value via the event.