Expand my Community achievements bar.

The "Must fill" requirement not pop up for content fragment property with required="on"

Avatar

Level 1

Hi Techs

I am trying to add a multi-field single line text property in a content fragment model like this:

HanLu1_0-1764014307405.png

And I want to add the required="on" property to the child level like this:

HanLu1_0-1764014836348.png

So user won't see the "Must fill" info unless user click add button.
But here comes an issue, the "Must fill" will not pop up until I refresh the page:
Add a line

HanLu1_1-1764014915367.png
Then refresh the page :

HanLu1_3-1764014971104.png

 

How can I fix this? Any suggestions will very helpful!
Thank you

 

1 Reply

Avatar

Level 2

Hi @HanLu1 ,

You need to uncheck the required and use custom JS / clientlib to validate the fields.