Added form input length enforcement to match DB limits