Added JPEdit functionality by checking form validation and showing friendly errors