I am using the following style attribute to set the user input to uppercase so that when the user starts typing in the text box for example railway, then it should
railway
You've put the style attribute on the tag, instead of the .
style
It is also not a good idea to have the spaces between the attribute name and the value...
Please note this transformation is purely visual, and does not change the text that is sent in POST.