validate form for divorce