I have a hack posted on ubbdev that also checks for a max number of lines in the signature.


[Linked Image from siemons.org]