Forcing input box to capital letters


I have an input box for visitors to enter their postcode which then validates against a database. I want whatever the visitor enters into this box to always default to capitals. Please can somebody help with coding to add to this page?

TIA :slight_smile:

1 Like

If you want the value to capitalized use:

let inputValue =$w("#input1").value.toUpperCase();

And use it.