the name attribute is used on the side that receives the data in the form, it is used for elements where it is possible to input data.
The button can’t receive data from whoever is compiling the form, so it doesn’t need a name attribute. It needs a type attribute to establish its behaviour of submitting the form
ah i almost got it. so everytime someone type something and press enter. the backend will recieve the name attribute, rather than what the user input on the text attribute itself(?)
and about the button. if you dont put submit attribut. the form will not get submitted?