Hi, hope you are safe and sound. I have 5 numeric fields, formatted as "%". Display patter: num{9.8'%'}|num{99.8'%'} Each field is limited to max. two characters with below script on change event: if (xfa.event.newText > 99) {xfa.event.change = "";} 6th field is "Total", where sum is calculated for ...