Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
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