Page 1 of 1

letters to be entered in a field

Posted: 2023-03-10 07:45
by pasbonte
Hello,

I searched the forum but I couldn't find it. How do I force capital letters to be entered in a field?

THANKS

Re: letters to be entered in a field

Posted: 2023-03-10 13:16
by zibrahim
You can try the following code

Code: Select all

// Set input to automatically convert to Uppercase. File hooks/tablename-dv.js
$j('#FIELDNAME').keyup(function () {
		$j(this).val($j(this).val().toUpperCase());
});
change the FIELDNAME to the actual field name

Happy coding.