Hi! well i'll explain what i need with an example.

i have an input where the user put 8 to 9 numbers. ex: 123456789

but i need to add one "-" before the last number to gave this 12345678-9.

there is a dynamic form to do this? 

Thanks in advance.

Solution

You can do that with a standard Text functions. Like this

Substr(str,0,Length(str)-2)+"-"+Substr(str,Length(str)-1,Length(str)-1)

Solution

The minimum work you can have with that, is by getting a masks component from the Forge.

There are a few numbers that get hyphens between digits like phones, so you can adapt an existing rule for your situation.

Hi,

In attachment a way of solving it with CustomMasks component

Regards,

Marcelo