0

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?

19th May 2018, 10:58 PM
arbaaz
2 odpowiedzi
+ 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.
24th May 2018, 12:50 AM
Derek Stockton
Derek Stockton - avatar
0
Thank you.
24th May 2018, 4:12 PM
arbaaz