I am currently in the process of creating a prototype with text fields that should format the phone number entered in a text field to include dashes positioned as such: ###-###-####
I referenced an example by user @PierreJ where they use the condition of ‘key pressed does not equal back’ so that there are no issues when someone tries to clear the entered value.
However, I am on a Mac and when I try to program the same interaction, the key I would press to clear a character to the left of the cursor would be ‘Delete’. This is also what shows up in the interaction rule in Axure. But the problem is that it doesn’t work in practice. I cannot delete characters past the - unless I select all and delete.
Is there any way to solve this without installing windows or purchasing a new keyboard?
I am uploading the example file that @PierreJ shared a few years ago and my new file that I created on a Mac.
Text-fiel-mask_V2.rp (46.4 KB)
phone number input example Mac.rp (42.9 KB)