How can I dynamically add a mask to the textbox input in google app scripts? I have a textbox that is intended to get a date, but I want the script to add the slash (/) by itself.
For example: the user enters "01022009" and dynamically the script gives the result "01/02/2009".
But not after all the numbers are added by the user. The behaviour I would like to get is that after typing "01" automatically the script add the slash after that an so on, so the final result would be "01/02/2009".
I've tried many ways but could not get the expected result.