Validations in Components

Is there any way to validate components where the user can write as textfield?

I don’t quite understand what you mean. Can you provide an example of what is happening and what you would like to have happen?

In Vision, or Perspective?

Vision 8.1

I want to use regular expressions at the moment to introduce text in a textfield and validate it

Have you tried the Formatted Text Field?

https://docs.inductiveautomation.com/display/DOC81/Vision+-+Formatted+Text+Field

Yes but, how to compare in textfield, I think did not compare correctly

You’re going to have to show, what you did that didn’t work and what you expected. The component forces the entry to fit to the specified format. It doesn’t use regular expressions.

1 Like