This week's book giveaway is in the Design forum.
We're giving away four copies of Design for the Mind and have Victor S. Yocco on-line!
See this thread for details.
Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to suppress client-side validation when field in bind to dojo’s ajax call?

Itamar Avni
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Using Struts 2 and Dojo

Given a Form with validate="true" for client-side validation, I have a form textfield that is bind to an Ajax action. When the field is changed the Ajax call should be executed (achieved by events="onkeyup"). Only the bound field is added to the Ajax call (using formFilter attribute).

But, the validation is executed before the Ajax call.

How can I achieve the Ajax action on the field without form client-side validation, and also client-side validation when the form is submitted?

10x for any effort.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic