I am trying to apply aui-form-validations to my form fields. For that I created a web resource with aui-min.js, aui-min.css , aui-experimental-min.js, aui-experimental-min.css and imported it into the velocity template using requiredResource. Aslo I have added require(['aui/form-validation']) in AJS.init() method of the JS file. But It shows no effect in the form.
I also tried by adding cdn directly in my template and that worked, but that time the dropdowns in the confluence nav-bar seems to be broken. How can I fix that? Any help will be appreciable.