fixed an error with my checkform function, it would only allow users to sub mit the form after fixing any errors in their input by clicking the add invoice line button. Now it checks whenever the form changes.