Lowest price ever! Learn Generative AI for 48% less!
Get my discount0
Form controls
Are names of form controls fixed, and can't they be changed, if so, why? In Html the name "username", can't be changed to something else, why is this?
2 Answers
+ 1
You can name them whatever you like. But when you reference that name, it needs to match or it won’t work. Like if I named my html input squirrel and then told php to get username. Php won’t be able to find username or collect the data.
0
Thank you.