• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

ajax and struts2

 
Rajani Panchumarthy
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Struts 2 / Ajax provide a validation of form field ONLY after user click submit button. My concern is how can I make Struts2 / Ajax validate a textfield WHEN user move to another textfield but before click the submit button?
 
Nishan Patel
Ranch Hand
Posts: 689
Eclipse IDE Java Scala
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Hi,

For this use Ajax framework like DWR, JQuery , webparts etc with Struts 2.

 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Bear in mind that you still need to provide validation on the server side.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic