Why does the NAME of an element control the ID of the element?

Why does the NAME of an element control the ID of the element ?

Example:

I place a TEXTBOX onto a FORM and give it a name of “vote_new_start_date”.

The Designer immediately changes the ID of the TEXTBOX to “vote_new_start_date”.

But changing the ID of the same element… doesn’t affect the NAME of an element.

Why is this ?

I’ve test several other elements as well - such as the DROPDOWN.

Same issue - when I change the NAME of a DROPDOWN… it changes the ID of the DROPDOWN.

This topic was automatically closed after 60 days. New replies are no longer allowed.