Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

struts validator along with manually created javascript functions!!!!!!!!!!

 
divya chamarti
Ranch Hand
Posts: 56
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
can any body help me to deal with how to control the validations carried out by our own javascript function as well as by dynamically created javascript function by struts validator frame work...........

actually in a struts based application i've used validator frame work which will validate some of the input fields and also i want to use one manually created javascript function for one field..........

and i need that first my validator frame work's javascript should be call and then my manually created javascript function should be called? so what should I do in order to do it???

as there is standered...in validator frame work ........only onsubmit attribute can be used for html:form tag.......so which event(which attribute i should use in html:submit tag in order to call my manually created javascript???

and if there is any usefull link will be mention that will also be very greatfull........
thanks in advance
regards.......
 
Prasanth Pillai
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
probably you may find the answer in this site.

http://courses.coreservlets.com/Course-Materials/struts.html
 
Jan Groth
Ranch Hand
Posts: 456
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
your keyboard has a problem with the repeat function.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic