Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Pattern Validation shows twice after adding "field requierd" message on exit


Not applicable
Hello everyone,

I have a couple of custom objects in my form (like US SSN, phone and email).

The pattern validation worked fine until I added a java script to those fields to show a message that they are required when you tab out of the field.

The javascript is:

this.mandatory = "error";

this.mandatoryMessage = "this field is mandatory!"; which was added on exit event.

Now the pattern validation shows twice if the data is invalid.
0 Replies