Set and imput to show error message.
Question

Hi.

I have an imput.

I created an action and added to that imput ON CHANGE:

The user must type a number between 10 and 20 not lower not higher.

I want that when the user in real time when he writes < 10 or > 20, appear a red message below saying something.

Thank you in advance.

Kind regards,

Pedro

Solution

You need to use the valid and valid message property of the input

Assign as false when is not between

And assign as valid(true) when is between




Also, there is this video.

https://youtu.be/WR1k0_MgaIQ?t=430

Check the OML

Regards,

Márcio


valid.oml

Worket.

Thank you very much for you time and explanation!! 

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