post value when user key in the nth character in the text box
we have a requirement where user needs to enter 9 characters in the textbox. on entering the 9th character, search button should be enabled and the format of the textbox should be changed to XX-XXX-XX. currently we are using a change event to post the value to the clipboard and an edit input to format the text. This works when we click anywhere outside the textbox after entering the 9 characters. We have tried with any key event but then the event is firing after every character and cursor moves out of the textbox after every key and we need to click on the textbox again.
Is there a way we could achieve the post value and edit input to fire when user key in the 9th character.
Thanks for your reply. But I tried the same in Pega 8 version and with use of Any key event, cursor moves out of the text input after every character(unless I type the characters really fast - which is not ideal in real time scenarios).