[jQuery] Re: [validate] Validation Rules based on IDs rather than Names

2008-06-26 Thread Simon Whatley
Hi Jörn Firstly, the form I have to work with is not of my creation and is somewhat flawed! I agree, your first example would be invalid if the forms were on the same page. If they were on separate pages the IDs are not invalid. However my example is a form that collects a number of instances

[jQuery] [Validate] Validation Rules based on IDs rather than Names

2008-06-25 Thread Simon Whatley
Hi Joern, I have come across an interesting problem regarding your jQuery Validation script that I am sure you already have a solution to, but I can't find it! I need the validation rules to look at the form input IDs rather than the form input names. I have a form that iterates 10 times, so

[jQuery] [validate] Validation Rules based on IDs rather than Names

2008-06-25 Thread Simon Whatley
Hi Joern, I have come across an interesting problem regarding your jQuery Validation script that I am sure you already have a solution to, but I can't find it! I need the validation rules to look at the form input IDs rather than the form input names. I have a form that iterates 10 times (when

[jQuery] Re: [validate] Validation Rules based on IDs rather than Names

2008-06-25 Thread Simon Whatley
within their form. You can try to hack the plugin, replacing all element.name snippets with element.id, but I won't support that. Jörn On Wed, Jun 25, 2008 at 12:10 PM, Simon Whatley [EMAIL PROTECTED] wrote: Hi Joern, I have come across an interesting problem regarding your jQuery

[jQuery] Re: [validate] Validation Rules based on IDs rather than Names

2008-06-25 Thread Simon Whatley
the plugin relies on names, as those have to be unique (from the plugin point of view) only within their form. You can try to hack the plugin, replacing all element.name snippets with element.id, but I won't support that. Jörn On Wed, Jun 25, 2008 at 12:10 PM, Simon Whatley [EMAIL PROTECTED