Richard
Richard

Reputation: 6116

JQuery Validate Dynamic Table

I'm using the JQuery validation plug to validate my entire form. I also have a dynamic table on my registration page where the user can register more people. I can validate the rest of the form fine but my goal is to validate the table inputs just the same. Here is my jfiddle code: tables

I don't know why the add line won't work there but it definitely works on my page. Anyway, that code ends up validate ONLY the first row of my table, but I want it to validate every single row. Can anyone see any problems with the code?

Upvotes: 1

Views: 2705

Answers (1)

Adeel
Adeel

Reputation: 19238

The end brakets are missing, just add }); at the end. check here

Upvotes: 2

Related Questions