Expand my Community achievements bar.

Guidelines for the Responsible Use of Generative AI in the Experience Cloud Community.

Validations Error

Avatar

Level 1

I have built a financial statement using simple calculate script.

All the form fields are decimal fields. The problem is when a user enters a number greater than 9999.99 I get the error message shown below.

I have tried adding more "z" in the validation pattern, but it still give the error message.

Error Message is:

The value you entered for $ is invalid.

To ignore validations for $ click ignore.

HELP PLEASE!

error.jpg

3 Replies

Avatar

Former Community Member

The 9 in the pattern indicates that a number goes there a z indicates a zero can go there.....so add 9 not

z to the pattern.

Paul

Avatar

Level 1

That doesn't solve it... any other suggestions?

I have also discovered that if I change the name of the field back to decimalfield I don't have the problem.

But, I can't do that because I need the names to make my calculations run.

Avatar

Former Community Member

I don't understand what you mean ...the decimalField is a type not a name .....you can name it anything you want.

For those patterns to work the field has to be a numeric or decimal field.

Paul