Provided client+server side validation for edit form