Aah! *Slaps forehead* I found the problem! I was creating the
validation rules and messages by referring to the id's of the form
fields, while I should just reference their names! Everything's
working now, thanks for your time.
Jeroen
On 2 okt, 03:24, Jörn Zaefferer [EMAIL PROTECTED]
wrote:
Could you summarize the problem again? I looked at the testpage and
couldn't see anything wrong with it.
Jörn
On Tue, Sep 30, 2008 at 6:16 PM, Jeroen Coumans [EMAIL PROTECTED] wrote:
Could it have something to do with the fact that each id starts with
edit-? When I try it with manually
Drupal generates input fields with an id like edit-profile-name. The
jQuery validator plugin seems to ignore those fields completely, at
least on the form at http://lab.jeroencoumans.nl/register/ (which is
the generated HTML from a custom Drupal registration form). Quoting
the id when referencing
Ok, I've further debugged this, trying to find the exact circumstances
in which the validator doesn't work. Now I noticed that the values of
the name and id attributes of input fields aren't the same. I've
created a fixed version:
http://lab.jeroencoumans.nl/register/index-fixed-name.html
And
Could you reduce your non-working testpage to just one non-working
element? I still can't see the issue. The validation seems to work
just fine.
Jörn
On Wed, Oct 1, 2008 at 11:57 PM, Jeroen Coumans [EMAIL PROTECTED] wrote:
Ok, I've further debugged this, trying to find the exact circumstances
Could it have something to do with the fact that each id starts with
edit-? When I try it with manually created markup, changing or
removing the dashes doesn't help, but removing the edit- part does.
Is there a workaround possible?
Thanks,
Jeroen
On 29 sep, 00:06, Jeroen Coumans [EMAIL
6 matches
Mail list logo