Text format WHILE typing?

Hello, new with Appian here.

We have an account number text field on an interface screen. We would like the format of the entered values to follow this format "00-0000000".

I built a rule to display that format, but it only works AFTER the field has lost focus. I also tried refresh after keypress. It didn't seem to work.

Is there a way to have the "-" appear while a user is typing in the value? In this case it would show the "-" after they have typed in the first two digits and continue as they finish the rest of the digits. "12-" for example.

Thanks

  Discussion posts and replies are publicly visible