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

Adobe Summit 2023 [19th to 23rd March, Las Vegas and Virtual] | Complete AEM Session & Lab list

Dual Validation rules on one field

Avatar

Level 3

Hello all,

I am trying to create a field that has multiple validation. I'm trying to create a field that would allow either an FIEN or a Social Security Number. I tried using the validation property for EIN and SS Number, but it did not work.

Is there a way to create a script that would allow either an FIEN or SS #?

Also, on required fields, how do you display a message, clear the field value and force focus on the field if it is invalid?

Thank you!

Rick

0 Replies