hello,
in the ref_block.tpl the maxlength limit to the number of parameter characters "ref number template", but if you use #ID# the maximum will always be 4.

replace:
<input style="width: 90%;"...