Hi all,
I'm trying to validate a form which is using
Struts tags and I am not able to validate anything from the client side through JavaScript. Basically, this is the form that I have:
Well... every time that I click on the "Search" button the JavaScript function is not executed if I left empty the textfield named "localidad". I am not sure if I am binding\passing correctly the variable named "localidad" in to the JavaScript function or maybe the validation is wrong... or maybe I need to add any other reference in the header....
Finally, I have to say that the form is working perfectly if I fill all the fields so the problem starts if I left any empty field... those fields are not validated!!
Any suggestions?
Thanks a lot one more time for your support and apologies for the code, it is in Spanish...
-S