Fóruns

Início » Liferay Portal » Pусский

Visualização combinada Visão plana Exibição em árvore
Tópicos [ Anterior | Próximo ]
Juhi Kumari
How to use jQuery validation in LR 5.2.3
24 de Fevereiro de 2012 05:24
Resposta

Juhi Kumari

Ranking: Expert

Mensagens: 347

Data de entrada: 12 de Dezembro de 2011

Mensagens recentes

Hi,
How to use jQuery validation for form fields in Liferay 5.2.3?
If any idea please share!!

Regards
Juhi
David H Nebinger
RE: How to use jQuery validation in LR 5.2.3
24 de Fevereiro de 2012 05:56
Resposta

David H Nebinger

Community Moderator

Ranking: Liferay Legend

Mensagens: 11793

Data de entrada: 1 de Setembro de 2006

Mensagens recentes

Sure it's possible, but what kind of ideas are you looking for?
Hitoshi Ozawa
RE: How to use jQuery validation in LR 5.2.3
24 de Fevereiro de 2012 07:39
Resposta

Hitoshi Ozawa

Ranking: Liferay Legend

Mensagens: 7949

Data de entrada: 23 de Março de 2010

Mensagens 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,\
\
Juhi Kumari
RE: How to use jQuery validation in LR 5.2.3
26 de Fevereiro de 2012 21:46
Resposta

Juhi Kumari

Ranking: Expert

Mensagens: 347

Data de entrada: 12 de Dezembro de 2011

Mensagens 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