Confirmit – In the java script tab of an open text question –
Change the part in bold to your question name and the length of the field.
$(document).ready(function(){
var pageCounter = 0;
var countEmpties = 0;
$(‘input[id*=”qnr_unrecog_tag“]’).attr(‘maxlength’,’5‘);
});