I know we can make use of required boolean property to make the field as required. If you dont enter any field in dialog, aem gives "Please fill out this field." as per the default implementation. Can we change this error message with any property?
I referred this API link - https://helpx.adobe.com/experience-manager/6-4/sites/developing/using/reference-materials/granite-ui... but this does not have any relevant property to customize error message. Can anyone tried to change this default error msg?
Solved! Go to Solution.
Topics help categorize Community content and increase your ability to discover relevant content.
Views
Replies
Total Likes
Hi,
Unfortunately, there is no property/option to set custom messages or use regex like the classic UI widget.
for the same reason, I also end up creating a custom solution https://aemlab.blogspot.com/2019/05/aem-touch-ui-component-dialog-field.html
If you want to change a message you can simply generic solution to overwrite the OOTB message with a custom message. you can use coral alert api combination with custom error message property https://helpx.adobe.com/experience-manager/6-5/sites/developing/using/reference-materials/coral-ui/c...
Hi @Anderson_Hamer,
Please check this link for your use case: https://aemhints.com/2020/11/02/validating-dialog-value/
Thanks,
Kiran Vedantam.
Hi @Anderson_Hamer,
You need to override the message and display it as per your requirement. You can ignore the custom validation in the url.
Thanks,
Kiran Vedantam.
Hi,
Unfortunately, there is no property/option to set custom messages or use regex like the classic UI widget.
for the same reason, I also end up creating a custom solution https://aemlab.blogspot.com/2019/05/aem-touch-ui-component-dialog-field.html
If you want to change a message you can simply generic solution to overwrite the OOTB message with a custom message. you can use coral alert api combination with custom error message property https://helpx.adobe.com/experience-manager/6-5/sites/developing/using/reference-materials/coral-ui/c...
A.M.E. is not for the spanish?.
Views
Replies
Total Likes