• Post Reply Bookmark Topic Watch Topic
  • New Topic

h:commandButton onclick returns false but action still executed  RSS feed

Joe Walt
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a h:commandButton that is suppose to perform and action if form validation returns true. if form validation returns false the same screen should be displayed with errors. When there are errors on the form the screen is redisplayed showing the errors but then the action is preformed a few seconds later. I was told that this is caused by an add-on from publisher “Conduit Ltd”. If I disable this add-on it fixes the problem but I am hoping to find a solution that does not require disabling this add-on.

<h:commandButton value="#{msg.ui024_button_checkout}"
onclick="return validateCheckOut(this.form)"
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!