>
> Rather to my surprise this has removed the warnings (it is the html
> validator plugin for FF that is showing the warnings of course, not
> firebug).


Always glad to surprise you.


> I am surprised as I thought that the name and id both have
> to be unique and while this fixes the id the names are still the same.
>

This is absolutely correct and valid (and the fact that the ids are added to
an array is something that PHP coders have relied on for at least 10 years -
I know I was one of them).


> In fact the error in the validator specifically referred to the name.
> Having fed the source into the w3c validator however it specifically
> complains about the ids not being unique, and treats it as an error
> not a warning, so this may be a deficiency in the validator plugin.
>

I think it must be, there's no requirement for names to be unique.

Cheers,


Andy

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to