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.
Please refer the link below. It'll you to acheive your use case.
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!
Thanks a ton.
The inputs provided was really helpful. Am still on it, but the pointers were very much helpful.