mask in native.newTextField

I need to mask my input text to phone and money value. How can i do this?

I search to this and dont find anything. It’s important to product best experience to end users.

https://docs.coronalabs.com/daily/api/type/TextField/inputType.html

In particular note the “Gotchas” in the documentation.

Rob

I use the decimal inputType, but i need to mask money in input. The users need input big values and without mask is bad to read.

Has any alternative? With enterprise is possible to mask input when users is inputting values?

Setting .isSecure = true on a money entry should work cause it to use **** for the screen display.

As far as Enterprise, it can do whatever native text input can do.

You can further restrict what the user can type by attaching a listener to the field and writing some custom code to apply rules.

-Ed

I have one listener that validate the user input, but i need o mask user input to improve usability.

In this project they have what i can do.

https://github.com/viniciusmo/VMaskTextField

In this gif you can see what i can do, but i need to do this for money input. With enterprise i can attach this functionality to same inputText?

vmasktextfield.gif

https://docs.coronalabs.com/daily/api/type/TextField/inputType.html

In particular note the “Gotchas” in the documentation.

Rob

I use the decimal inputType, but i need to mask money in input. The users need input big values and without mask is bad to read.

Has any alternative? With enterprise is possible to mask input when users is inputting values?

Setting .isSecure = true on a money entry should work cause it to use **** for the screen display.

As far as Enterprise, it can do whatever native text input can do.

You can further restrict what the user can type by attaching a listener to the field and writing some custom code to apply rules.

-Ed

I have one listener that validate the user input, but i need o mask user input to improve usability.

In this project they have what i can do.

https://github.com/viniciusmo/VMaskTextField

In this gif you can see what i can do, but i need to do this for money input. With enterprise i can attach this functionality to same inputText?

vmasktextfield.gif