37. After entering an appearance a respondent in a cause may without filing an answer be heard in respect of any question as to costs and a respondent who is husband or wife of the petitioner may be heard also as to custody of or access to children.