[jQuery] Dynamic form validation

2009-11-22 Thread pcoder
Hi All, I tried a lots of way to validate a dynamic form. Validation is always works with the element ID right? Sometimes, it seems like the validation is working with the element NAME. I give you this example. [code=text] Dynamic Form Validation jQuery().ready(function(){ var json

[jQuery] Dynamic form validation on different names possible?

2008-12-18 Thread dfiguero
Hi, I'm trying to validate a form with a dynamic date fields. Something like: ... I got my validation rules working but only if I hardcode each of the input's names: $("form").validate({ rules: { "date-1-start": compare ["#date

[jQuery] Dynamic Form Validation?

2007-08-16 Thread howa
Hello, anyone has idea how to do dynamic form validation? e.g. using http://bassistance.de/jquery-plugins/jquery-plugin-validation/ I only want to check for required field for t2 ONLY if t1 is equal to some value e.g. If t1 = "test", then t2 cannot be null, else never mind abt t2 has any