Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #99456
    admin
    Keymaster

    Hello !
    I have a question about Masked text box component. I’m creating an app where i need a text box that accepts custom input. I want the user to be able to insert input that is validated according to a specific mask. The mask as follows: “AA BBBB CC”, where AA are two letters(A-Z), BBBB are four digits ( 0-9) and CC (two letters A-Z). If possible please include a code snippet.
    Thank you !

    #99457
    admin
    Keymaster

    Hi hansT,
    To validate the user input this way, You have to use the following mask – “AA #### AA”(“A” matches A-Z letters, “#” matches digits).
    Here is a snippet:
    <smart-masked-text-box mask="AA #### AA"></smart-masked-text-box>
    Best Regards,
    Ivailo Ivanov
    Smart HTML Elements Team
    https://www.htmlelements.com

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.