AEM Touch UI Dialog Validation New Best Practice: Use Foundation-Validation
Published on by Eddie Yao on blogs.perficient.comOftentimes, AEM developers will be asked to develop validator for component dialog. Back in the Classic UI dialog days, you will probably write a JavaScript function for dialog before submit event. In Touch UI dialog, if you’ve googled around, you probably found a lot articles/codes to use jQuery based validator, i.e. $.validator.register({}). Recently, I found out that this jQuery based validator is deprecated starting in AEM 6.2 (see screenshot below), where the new best practice is to use foundation-validation. In this blog, I am going to walk you through foundation-validation, the things you can do with it, using a sample icon component. You can find all the source codes in my GitHub project.
Tags
comments powered by Disqus
Get Insights from the AGC!
Related Posts

How to Fix AEM Link Checker Issues with Broken Image Links
Jan 30, 2019
Sajiva Pradhan

How does Sling resolve an AEM Page to the correct resource type?
Jan 7, 2019
Jörg Hoh

Catching up with David Gonzalez
Jan 10, 2019
Peter Nash