AEM 6.3 : Show custom alert in Page properties window | Community
Skip to main content
cquser1
Level 7
December 14, 2017
Solved

AEM 6.3 : Show custom alert in Page properties window

  • December 14, 2017
  • 2 replies
  • 3012 views

Hi All,

Details as below :

We have added a custom tab in the page properpties for one of our custom templates. One of the field in the custom tab is a non-mandatory multifield pathbrowser.

In case that multi-field in dialog is not filled up, we would like to show an alert that this needs to be filled in later and continue to save the page properties without filling in that field.

Tried various things based on the posts mentioned below, but no luck. Any thoughts/pointers on this will be really helpful.

http://www.adobeaemclub.com/aem-touch-ui-dialog-validation/

https://forums.adobe.com/thread/2422733

https://forums.adobe.com/thread/2325432

https://www.aemquickstart.in/2016/11/input-field-validation.html

http://adobeaem-learneasycodeeasy.blogspot.in/2017/01/aem-touch-ui-dialog-validation.html

https://forums.adobe.com/thread/2326456

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 Techaspect_Solu

Hi,

Please refer the link below. It'll you to acheive your use case.

http://experience-aem.blogspot.in/2015/03/aem-6-sp2-extend-site-admin-properties-show-submit-confirmation.html

NOTE: Once you download the package from above link, you'll need to made few changes in the js (missing-page-title.js) in order to make it work in AEM 6.3.

Changes to be done:

1) Replace line 5 with:  var PROPERTIES_FORM = "cq-sites-properties-form";

2) Replace line 18 with: var title = $propertiesForm.find("[name='./<your-custom-name-here>']").val(),

And replace message as per your requirement.

We hope this helps!

Regards,

TechAspect Solutions

2 replies

Techaspect_Solu
Techaspect_SoluAccepted solution
Level 7
December 14, 2017

Hi,

Please refer the link below. It'll you to acheive your use case.

http://experience-aem.blogspot.in/2015/03/aem-6-sp2-extend-site-admin-properties-show-submit-confirmation.html

NOTE: Once you download the package from above link, you'll need to made few changes in the js (missing-page-title.js) in order to make it work in AEM 6.3.

Changes to be done:

1) Replace line 5 with:  var PROPERTIES_FORM = "cq-sites-properties-form";

2) Replace line 18 with: var title = $propertiesForm.find("[name='./<your-custom-name-here>']").val(),

And replace message as per your requirement.

We hope this helps!

Regards,

TechAspect Solutions

cquser1
cquser1Author
Level 7
December 14, 2017

Hi,

Thanks a ton.

The inputs provided was really helpful. Am still on it, but the pointers were very much helpful.

New Member
July 5, 2020

Hi,
were you able to achieve the above functionality?
Can you please let me know , how can we do the validation of multifield in page properties