Earlier, I was creating a form and mindlessly named one of my inputs "name", similar to the following pseudo code:
<input id="name" type="text" name="name" />
I then remembered that in the past, I've had issues with inputs with the name "action." If I remember correctly, the issues arose during enhancement with JavaScript (there was confusion between the form's action and the input with the name "action").
So my questions are:
- Is it safe to use something similar to the snippet above?
- Is there some canonical list of strings that should generally NOT be used as input names?