issue#482 - added validation to form_to_edit_entry