If the father still has custody rights, he would have to consent to the name change or the mother would have to convince a court that the name change is in the child's best interest.