Custom PDF errors when saving multiple text fields