Page Properties Show/Hide

Avatar

Avatar
Validate 1
Level 1
prajwalreddi
Level 1

Like

1 like

Total Posts

6 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile

Avatar
Validate 1
Level 1
prajwalreddi
Level 1

Like

1 like

Total Posts

6 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile
prajwalreddi
Level 1

09-01-2019

We have implemented the Show/Hide of the page properties using cq-dialog-dropdown-showhide-target AEM 6.4. Show/hide things are working absolutely fine. When required:true is enabled for multiple fields  it is not allowing to submit unless we fill in required fields of the hidden fields.

Assume we have drop with below values. We have different fields for the selection in the dropdown in which few of them are mandatory. When we select xyz and try to submit. It is not submitted and shows required error in abc. I know it works as expected for component dialog. But seems it is not working for page properties. Do we have any other option to achieve it?

- Dropdown

------abc

------efg

------xyz

View Entire Topic

Avatar

Avatar
Give Back
Level 1
shivamurthym775
Level 1

Like

1 like

Total Posts

8 posts

Correct reply

1 solution
Top badges earned
Give Back
Boost 1
Affirm 1
View profile

Avatar
Give Back
Level 1
shivamurthym775
Level 1

Like

1 like

Total Posts

8 posts

Correct reply

1 solution
Top badges earned
Give Back
Boost 1
Affirm 1
View profile
shivamurthym775
Level 1

23-06-2020

@prajwalreddi ,

I am facing some issue in implementing the show hide at page props level. can you share the xml and js here?

I can see its working if i keep the xml at component level.

For page props first time on page load logic works fine, But on save and submit its doesn't keep the values back. I am checking with existing the dialog from list component.

 i was just checking with this 

/apps/core/wcm/components/list/v1/list/cq:dialog