Alpha version of edit_form validation. (still doesn't display the error
messages properly).