Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.
SOLVED

Custom made error validation

Avatar

Level 2

hi peeps,

I am wondering if there is a way to display error message based on what error is being made. I have noticed that all error message will following according to the Script Validation Message.

Lets say I want a numeric box to be positive and cannot be more than 5000. How do I made the error message displayed varies correctly according to the input?

Thanks all in advance

1 Accepted Solution

Avatar

Correct answer by
Community Advisor
2 Replies

Avatar

Employee

Did you have a chance to review ACS Common error handler?

It might a good start for your own project: Error Page Handler

Avatar

Correct answer by
Community Advisor