Paul Kruyt wrote:
For the 2nd part I guess you would go for a regular expression. There is a system action for comparing a regular expression against an input.
A regular expression that could work for the 2nd part is:
([0-9](\.|,){0,1}[0-9]{0,8})
[0-9] = starting with a digit
(\.|,){0,1} = zero or 1 occurrences of . or ,
[0-9]{0,8} = ending with 0 to 8 occurrences of a digit
Use tools like https://regexr.com/ to build and test your regular expressions.
Thanks Paul.
I already founded solution for my problem :)
I used:
1. MaskText - from Custom Masks widget
regex code in AdvancedOptions: {regex:'^([A-Za-z0-9]+[-?])+([A-Za-z0-9])+$', placeholder: '' }
2. DecimalOnlyInput - wb from Custom Masks widget.
*The max characters were forgotten