Message Boards

aui:validator not working on liferay 7.3.2

thumbnail
Yan Paing, modified 3 Years ago.

aui:validator not working on liferay 7.3.2

Regular Member Posts: 128 Join Date: 3/11/10 Recent Posts
Hi Everyone,I migrate liferay from 7.2.1 to 7.3.2, i found that aui:validator is not working. The form is submitting even the code is writing for validation with aui:validator. Can someone please suggest how should i need to change the code for that. Thank you
<aui:input label="teacher.firstname" disabled="${disabledInput }" name="firstName" type="text" >
                <aui:validator name="required"/>
            </aui:input>
 
thumbnail
Christoph Rabel, modified 3 Years ago.

RE: aui:validator not working on liferay 7.3.2

Liferay Legend Posts: 1554 Join Date: 9/24/09 Recent Posts
I am just guessing here, but jQuery was disabled in Liferay 7.3 and you need to explicitly enable it. Do you get any Javascript errors? You can try to enable jQuery in System Settings → Third Party → jQuery and test if it makes a difference.
thumbnail
Yan Paing, modified 3 Years ago.

RE: aui:validator not working on liferay 7.3.2

Regular Member Posts: 128 Join Date: 3/11/10 Recent Posts
Hi Christoph, 
I enable jquery as per your suggestion and the vaildator is working after that. Thank you for your response. ​​​​​​​