フォーラム

ホーム » Liferay Portal » English » 3. Development

構造的に表示 平面上に表示 ツリー上に表示
スレッド [ 前へ | 次へ ]
toggle
William Gosse
aui:form and onsubmit issue
2012/04/30 13:22
答え

William Gosse

ランク: Regular Member

投稿: 108

参加年月日: 2010/07/04

最近の投稿

When I add an onsubmit to my aui:form tag it doesn't seem to prevent the submission even the javscript that's called is returning false.

I even tried just having onSubmit="return fales;" in the aui:form tag which didn't stop the submission as well.

I'm trying to add this to the standard login.jsp.

Is there something special about how aui:form handles onsubmits?
William Gosse
SOLVED: aui:form and onsubmit issue
2012/05/14 3:40
答え

William Gosse

ランク: Regular Member

投稿: 108

参加年月日: 2010/07/04

最近の投稿

I got this to work by moving my javascript call to the onclick on the submit button.