Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
145
UltraMaskedEdit.InputMask Custom mask
posted

Is there a way to create a custom mask with my own valid characters?

 

I need to allow spaces AND be required, so  a-z, A-Z, ' ', or 0-9

 

"A" is closest, Alphanumeric character placeholder. For example: a-z, A-Z, or 0-9. Character entry is required.

but does not allow for spaces

 

Regards


Eric

 

 

Parents
No Data
Reply
  • 53790
    posted

    Hello Eric,

    There are different approaches to solve this task. Maybe you could try one of these two options below:

    Option 1: You could try to use Regular Expressions (RegEx). Using suitable event, you could validate the entered characters.

    Option 2: You could try to implement IEditorDataFilter

    Please take a look on attached video file and both samples with these two approaches and if you have any questions, feel free to write me

    Regards

     

    Video864.rar
Children