Expand my Community achievements bar.

Guidelines for the Responsible Use of Generative AI in the Experience Cloud Community.

Why are required fields in a dynamic subform are validated when exiting a field?

Avatar

Former Community Member

Hi,

I have a problem with required fields in a subform. My form contains several required fields which behave as intented. But in one dynamic subform – which can have up to three instances – there are problems with required fields.

If I enter a value in the first required field of that subform and exit that field, a error message appears saying which required fields are still empty. It seems like the execValidate() function was called – but there is no such code in my form.

The problem disappears if I remove all Javascript code which refers to the required fields in the subform. But this code does not validate the mentioned required fields. It only sets the caption of one field. So I do not understand the relation between that code and my problem.

Has anyone encountered the same or a similar problem and knows a solution?

When is the execValidate() function called internally?

I'm looking forward for help. Thank you!

Kerstin

0 Replies