Answers for "force input to uppercase"

3

conveert text to uppercase in input field

<input type="text" class="normal" 
       name="Name" size="20" maxlength="20" 
       style="text-transform:uppercase" />
Posted by: Guest on May-19-2020
-2

input uppercase with css

<input oninput="let p = this.selectionStart; this.value = this.value.toUpperCase();this.setSelectionRange(p, p);" />
Posted by: Guest on May-12-2020

Browse Popular Code Answers by Language