Given that text conversion is a CSS property, I don’t understand how the text in the input field, which has the text conversion to uppercase, actually sends the text of the page to uppercase when the form is submitted. Shouldn't CSS change the look of the page, not the content itself? If I type something in lower case on a form, shouldn't it obey in lower case and just appear in upper case in the form field?
I use PHP to process column variables, and any text that I type, with the text converted to uppercase, is actually in uppercase. I am changing the value that was lowercase, the string "This is a test." for example ... If I delete the test and retype it in the input field and send it, then print the value presented, it will print "This is a TEST". with reprinted uppercase text and any original text in the same case as before. Is this just bad behavior or something else?
source
share