Expand my Community achievements bar.

Enhance your AEM Assets & Boost Your Development: [AEM Gems | June 19, 2024] Improving the Developer Experience with New APIs and Events
SOLVED

Prevent pattern validation on focus exit

Avatar

Level 4

We have a a requirement from our client that they want field to have patterns such as email address/ social security etc 

 

However, to do not want the validation to fire when the user tabs out of the field but rather when they click the link/button to go to the next section.

 

Is there a property in the field components that provides this functionality?

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

I think there is no such property, to achieve this you need to write the script in the click event of the link/button.

View solution in original post

1 Reply

Avatar

Correct answer by
Community Advisor

I think there is no such property, to achieve this you need to write the script in the click event of the link/button.