Hello,
I would like to create a text input field that accepts user input and automatically formats it to match a specific pattern, such as a credit card number pattern (0000-0000-0000-0000). The input field should insert a "-" every 4 digits, and any invalid input should be removed.
Do you have any ideas on how to implement this?

--
You received this message because you are subscribed to the Google Groups "Blockly" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blockly+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/blockly/6c0d90bb-d493-4618-98df-5b75a6dd8528n%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/blockly/13357cf7-e117-44d4-9d71-bc79562fc8d8n%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/blockly/CAEx9HWGHYWPSZNH_orGythmVQVF%3DYAWnav5pn7c7SUkgAfw1Mg%40mail.gmail.com.