Category : aem

This is my situation -> cqdialog I need that if a user types a wrong url or leaves an empty field, the dialog box does not have to close. This is my function for url validation on first field, while I’m doing another similar function for each child: function isValidUrl() { const element = $(this).closest("coral-panel-content").find("input[name*=linkDefault]"); ..

Read more

I need a way to fetch new posts from 6 different social media platforms with JavaScript or suitable tools to display on a website. The social media platforms are: Twitter Facebook Instagram LinkedIn YouTube WordPress Is there a tool (free or paid) that can fetch all of those social feeds combined in an applicable manner, ..

Read more

Hello I want to use the sling ResourceType as oppose to the servletpath. So this is my original path: @Component(service=Servlet.class, property={"sling.servlet.paths=/bin/jit/ccpa", "sling.servlet.extensions=html", "sling.servlet.methods=" + METHOD_POST} ) And this is an update for the resourceType. @Component(service=Servlet.class, property={"sling.servlet.resourceTypes="+"falcon/components/pages/rwd/page_home", "sling.servlet.extensions=html", "sling.servlet.selectors="+"sample", "sling.servlet.methods=" + METHOD_POST} ) For my ajax call how should I configure it? $.ajax({ type: ‘POST’, url: ..

Read more

Hello I keep getting an error when using the CDN <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery.mask/1.14.10/jquery.mask.js"></script> It is for masking phone numbers and other fields in a form. Here are some functions where I am using these mask and unmask as well. function phoneValidate(evt){ var iKeyCode = (evt.which) ? evt.which : evt.keyCode var charStr = String.fromCharCode(iKeyCode); if(iKeyCode != 9){ ..

Read more