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

Empty Message does not work


Not applicable
I have a couple of text fields that I have set to mandatory by selecting "User Entered -Required".

Whilst using an submit button it will display the generic Adobe message "at least one field is blank ...".

So what I do is add some text into the Empty Message field thinking that Adobe will prompt the user that the field is empty and display the message within the Empty Message field. But regardless of what I do it only shows the generic message.

I am stumped and am trying to figure what I have left out or am missing.

Any suggestions please?

Thanks, Jim
2 Replies


Level 10
Sorry for the delay in posting a reply but I have been researching your issue. I have been able to duplicate it. In doing my research I did find that if I programmatically force a validation then the desired error message is displayed. So while I am tracking down engineers to see why they do it this way I can suggest a work around.

If you make your actual submit button invisible, then put a second normal button on the form (making sure it is visible). This is the button that the user will see and use for submission. On the click event of the button, you will want to force the firing of the validate events and if they come back false then cause the submit to happen. Your javascript code will look something like this:

if (TextFieldName.rawValue == "" || TextFieldName.rawValue == null){


} else {



Once I hear back from engineering I will post the result.


Not applicable
Thanks Paul.

I will eagerly wait for your response.

The work around you suggested is not feasible for us as we can potentially have 50+ form fields.