[jQuery] Re: ask : jquery validation plugins not working

2008-12-04 Thread Adwin Wijaya
the reason I am not put unique names on each fields because on grails (grails.org) it will render as array. and i want it to become array of fields. I put unique id on each fields. i think, validation should look at the id instead of names. Okay i will try you validate modification :) Thanks !

[jQuery] Re: ask : jquery validation plugins not working

2008-12-03 Thread ksun
Ok, I think I found the problem you form input elements don't have unique names (check how many times you have 'expPerson1' 'expPerson2' etc). so the validation plugin only picks the first ones. give unique names and then try. The following is the code in validate.jquery.js file that does this ,

[jQuery] Re: ask : jquery validation plugins not working

2008-12-02 Thread Adwin Wijaya
Here is the test page http://wysmedia.com/test/ you can delete the first field .. and the validate() will work .. but when you delete the second, third, etc ... the validation will simply said it is valid and allow me to go to next page. On Dec 2, 5:16 pm, "Jörn Zaefferer" <[EMAIL PROTECTED]>

[jQuery] Re: ask : jquery validation plugins not working

2008-12-02 Thread ksun
I have never used validation plugin before so excuse me if I'm wrong. But just looking at your code I don't see any element with "householdBudgetForm" id in your code (on which you are calling validate), the form id is "BudgetForm" On Dec 2, 5:16 am, "Jörn Zaefferer" <[EMAIL PROTECTED]> wrote:

[jQuery] Re: ask : jquery validation plugins not working

2008-12-02 Thread Jörn Zaefferer
Could you provide a testpage? Jörn On Mon, Dec 1, 2008 at 10:32 PM, Adwin Wijaya <[EMAIL PROTECTED]> wrote: > > Hi jquery users, > > I have forms which has a lot of input inside and all of it I set as > required. Actually I generated the form using database, not by hand :) > > each input has uniq