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?
phone number input example Mac.rp (42.9 KB)