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 !
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 ,
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]>
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:
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
5 matches
Mail list logo