rpl121/OpenEMR — comment on commit 7e3b671ec81b9ab0599e5750a2fd1fb430a74da2
File:  line 0
By bradymiller:

Hi,

If we skip this validation, then a good chance of data corruption. If the data is larger than the $maxlength, then it's better to error out than to silently store data that gets truncated. You have hit on a known bug here, though, with more details here:
http://www.open-emr.org/wiki/index.php/Active_Projects#Datafield_Max_Length_Bug

This validation is for each entry; confused by what you mean by the total combined length of all fields.

-brady