Fórum

How to use jQuery validation in LR 5.2.3

thumbnail
Juhi Kumari, modificado 12 Anos atrás.

How to use jQuery validation in LR 5.2.3

Expert Postagens: 347 Data de Entrada: 12/12/11 Postagens Recentes
Hi,
How to use jQuery validation for form fields in Liferay 5.2.3?
If any idea please share!!

Regards
Juhi
thumbnail
David H Nebinger, modificado 12 Anos atrás.

RE: How to use jQuery validation in LR 5.2.3

Liferay Legend Postagens: 14919 Data de Entrada: 02/09/06 Postagens Recentes
Sure it's possible, but what kind of ideas are you looking for?
thumbnail
Hitoshi Ozawa, modificado 12 Anos atrás.

RE: How to use jQuery validation in LR 5.2.3

Liferay Legend Postagens: 7942 Data de Entrada: 24/03/10 Postagens Recentes
Liferay 5 is using jQuery so just use the validation plugin.

#
# Specify the list of barebone files.
#
# The ordering of the JavaScript files is important. Specifically, all
# JQuery scripts should go first.
#
# The Liferay scripts are grouped in such a way, that the first grouping
# denotes utility scripts that are used by the second and third groups. The
# second grouping denotes utility classes that rely on the first group, but
# does not rely on the second or third group. The third grouping denotes
# modules that rely on the first and second group.
#
javascript.barebone.files=\
\
#
# JQuery scripts
#
\
jquery/jquery.js,\
jquery/cookie.js,\
jquery/hover_intent.js,\
jquery/j2browse.js,\
jquery/livequery.js,\
\
#
# jQuery UI 1.5
#
\
jquery/ui.core.js,\
jquery/ui.datepicker.js,\
jquery/ui.dialog.js,\
jquery/ui.draggable.js,\
jquery/ui.slider.js,\
\
#
# jQuery UI 1.6
#
\
jquery/ui.color_picker.js,\
\
thumbnail
Juhi Kumari, modificado 12 Anos atrás.

RE: How to use jQuery validation in LR 5.2.3

Expert Postagens: 347 Data de Entrada: 12/12/11 Postagens Recentes
Hi Hitoshi,
I just want to show an error message when user leave mandatory field as blank at the time of submitting the form.
In liferay 5.2.3 where I can find jquery.valadate.js to validate the form fields ???

Regards
Juhi