I am creating a registration form which a user should select State and City from dropdowns (when the state is selected, the state ID is passed to the function that retrieves an