16
Views
3
Comments
Solved
[iMask Js] Use Number and Blank
imask-js
Reactive icon
Forge asset by Paulo Moreira
Application Type
Reactive

Hi there,

I am wondering,how to enable blank in addition to zero  for number mask/decimal mask?

regards and thanks

2025-01-09 14-56-57
IQ78
Solution

Hi, i got the trick:

1. user local variable o type text:


2. On Save, return back the variable to the entity:

3. OnAterFetch:


4. Masking:


IMaskTry.oml
2019-04-09 00-57-55
carl ruhle

Hi,

^\s*$|^\d+(\.\d+)?$

This regular expression accepts a blank space and numbers. 

Hope it helps you. 

2025-01-09 14-56-57
IQ78

hi, thank you,

but i do not know where to put the pattern?


regards

2025-01-09 14-56-57
IQ78
Solution

Hi, i got the trick:

1. user local variable o type text:


2. On Save, return back the variable to the entity:

3. OnAterFetch:


4. Masking:


IMaskTry.oml
Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.