Comments on: AEM Touch UI Dialog Validation New Best Practice: Use Foundation-Validation https://blogs.perficient.com/2017/11/06/aem-touch-ui-dialog-validation-new-best-practice-use-foundation-validation/ Expert Digital Insights Mon, 06 May 2024 12:02:46 +0000 hourly 1 By: Sushma https://blogs.perficient.com/2017/11/06/aem-touch-ui-dialog-validation-new-best-practice-use-foundation-validation/#comment-153066 Mon, 06 May 2024 12:02:46 +0000 https://blogs.perficient.com/adobe/?p=12210#comment-153066 Hi Abhishek,

Thank you for the content!
Need your help in resolving a query. When foundation-registry is used on a text field, logic seems to be working fine but function gets called for every letter change (we are executing query which is specific to our scenario, so the number of calls to backend is increasing). Thought of using the last mentioned method of adapting to foundation-validation, but din’t get like where to add our custom logic for validation. Pls help on this

]]>
By: Abhishek https://blogs.perficient.com/2017/11/06/aem-touch-ui-dialog-validation-new-best-practice-use-foundation-validation/#comment-144986 Wed, 03 Jan 2024 20:26:50 +0000 https://blogs.perficient.com/adobe/?p=12210#comment-144986 If author change any style or update any text to as anchor by rich text tool bar (which is top on the rich text when content author open rich text box) then “keyup” event is not triggering so do you have any suggestion which event I need to use or how I can listing that update/change ?

]]>
By: AEM developer https://blogs.perficient.com/2017/11/06/aem-touch-ui-dialog-validation-new-best-practice-use-foundation-validation/#comment-76269 Tue, 24 May 2022 11:50:01 +0000 https://blogs.perficient.com/adobe/?p=12210#comment-76269 In a multifield I have a dropdown based on which certain fields are shown/hidden. One of the fields is another multifield having another validation for minimum no. of items. Now of that field is part of the hidden fields, still I get an error and I’m not able to complete & close the dialog. How can we remove these custom foundation validation when field is hidden?

]]>
By: Vanitha B https://blogs.perficient.com/2017/11/06/aem-touch-ui-dialog-validation-new-best-practice-use-foundation-validation/#comment-67363 Fri, 25 Feb 2022 11:00:43 +0000 https://blogs.perficient.com/adobe/?p=12210#comment-67363 Hi, I want to add validations for nested multifield to limit both inner and outer multifield also I’m using image and text for my multifield. There I need to create thumbnail after I drag and dorp in the cq:dialog. The values are rendering properly. But when I close and again open the dialog only text fields appearing image is not appearning. Can you please help me for this ???

]]>
By: Louis https://blogs.perficient.com/2017/11/06/aem-touch-ui-dialog-validation-new-best-practice-use-foundation-validation/#comment-18526 Thu, 12 Jul 2018 20:07:16 +0000 https://blogs.perficient.com/adobe/?p=12210#comment-18526 I’m trying to work with the code that you have in your repo but I cannot get it working. I created a new blog page but I can’t add components because it’s giving me a 403 error. Also when trying to create my own validator I’m getting stuck at the beginning. The code is not recognizing the adaptTo method…. Do you have any suggestions?

]]>
By: Eddie Yao https://blogs.perficient.com/2017/11/06/aem-touch-ui-dialog-validation-new-best-practice-use-foundation-validation/#comment-18525 Fri, 12 Jan 2018 23:25:07 +0000 https://blogs.perficient.com/adobe/?p=12210#comment-18525 In reply to Jeroen.

When you use the foundation api, you can add a custom attribute to your content.xml, then in your js, you will find that attribute and then adaptTo(“foundation-validation”) in order to hook the validator to that field, reference to “Even Better” section.

]]>
By: Eddie Yao https://blogs.perficient.com/2017/11/06/aem-touch-ui-dialog-validation-new-best-practice-use-foundation-validation/#comment-18524 Fri, 12 Jan 2018 23:14:34 +0000 https://blogs.perficient.com/adobe/?p=12210#comment-18524 In reply to Jeroen.

Hi, this is link to the github repo https://github.com/guangweiyao/blog.

]]>
By: Jeroen https://blogs.perficient.com/2017/11/06/aem-touch-ui-dialog-validation-new-best-practice-use-foundation-validation/#comment-18523 Tue, 09 Jan 2018 08:14:25 +0000 https://blogs.perficient.com/adobe/?p=12210#comment-18523 Do you also have a link to a github repo where I can view the full code, would be really helpful.

]]>
By: Jeroen https://blogs.perficient.com/2017/11/06/aem-touch-ui-dialog-validation-new-best-practice-use-foundation-validation/#comment-18522 Tue, 09 Jan 2018 08:00:33 +0000 https://blogs.perficient.com/adobe/?p=12210#comment-18522 I am not really sure how to hook the data-validation attribute to the field when using the foundation validation api under ‘How to Hook Validator to Dialog Field?’. I can just add it to the field in my .content.xml but that isn’t the correct way I guess?

]]>