Convert Input text to UPPERCASE

This snippet will convert any text entered to UPPERCASE immediately upon entering the text:

$(document).on('knack-view-render.any', function (event, view, data) {
// Remove #field_1 so it works for ALL inputs
    $('input#field_1').keyup(function() {
        this.value = this.value.toUpperCase();
    });
});

 

The snippet posted above only affects the main login screen. If you have a manage user screen or emails within your app that you don't want converted to uppercase, then you will have to add those field ID's in with the snippet.

Example:

 

$(document).on('knack-view-render.any', function (event, view, data) {
	$('input:not(#email, #password, #field_39, #field_40)').keyup(function() {
        	this.value = this.value.toUpperCase();
    	});
}); 

 

 Does this affect the Change Password screen?

Nice!

I love it. Thanks!