Restrict Space and Force Uppercase in a Form

Get Component ID:

Find Field IDs:
Replace the ID found here in '#field_' within the code snippet.
Add JavaScript Code:
TB.render('component_3', function(data) {
$(function(){
$('#fieldP74QYbjBEm').bind('input', function(){
$(this).val(function(_, v){
return v.replace(/\s+/g, '').toUpperCase()
});
});
});
});
We'd love to hear your feedback.