I have a complex form with some fields that are generated on the fly using JS/jQuery.
The problem with this generation on the fly is the complexity to validate this fields on the server side. I don’t know if I should store the generated forms and values generated by the JS and try to validade on the server side or by other hand use another approach like validate all on the client side(easier I think).
-
My question 1 is: It is possible to do all validations using JS? There is some JS validation framework that will help me on this task? I’ve goggled and have found LiveValidation(www.livevalidation.com), is this what I need?
-
Question 2: What problems I will have using this kind of approach(validata all on the client side)?
Some clues, thoughts?
Best Regards,
André, we do that all the time. Javascript validation is a key point and has to be performed before a submit occurs, the main reason being
You use JS validation to, for instance
Besides, to answer your last question, and to paraphrase the beginning of the answer (doesn’t hurt)