This topic contains 1 reply, has 2 voices, and was last updated by Avatar Anonymous 2 years, 6 months ago.

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

    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 !


    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

    • This reply was modified 2 years, 6 months ago by Avatar .
Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.