If the issue of change of principal residence of a child is presented in a petition for divorce or dissolution of a marriage or other petition to determine custody of or visitation with a child, the court shall consider, among other evidence, the factors set forth in Sections 30-3-169.2 and 30-3-169.3 in making its initial determination.
Ala. Code § 30-3-169.7 (1975)