validation message box not shown on form validation in html rendering | Community
Skip to main content
stefano_massimo
September 11, 2017
Solved

validation message box not shown on form validation in html rendering

  • September 11, 2017
  • 1 reply
  • 970 views

Hi all,

I need some help to solve this issue:

In Adobe AEM Designer v 6.2, i have a form containing mandatory fields ("user entered - required"), to be validate.

Leaving mandatory fields empty, when i do execValidate() on form in "Preview PDF" I get a validation message box, listing all validation errors occurred (something like

"the empty field xxx is mandatory", according to the message I set in "Validation pattern message" for that field) .

When i do the same in "Preview HTML", no validation message box are shown (execValidate just returns false)

Please note that in "form properties" -> "Form validation" -> "Show dialog message" I've selected "combine the messages of all the failed fields into one message box"

What to do in order to obtain in HTML rendering the same behavior of PDF (validation error showed in validation message box) ?

Thanks a lot.

Bye

Stefano Taglietti

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by aadilk48836844

You will be able to see the validaiton message box when you focus on the field. The fields having failed validation have different border color like in the Preview PDF. So when you focus on the field you will be able to see the error message.

1 reply

aadilk48836844
aadilk48836844Accepted solution
November 29, 2017

You will be able to see the validaiton message box when you focus on the field. The fields having failed validation have different border color like in the Preview PDF. So when you focus on the field you will be able to see the error message.