The attorney was correct - you need to be resident in KS for 6 months before KS will have jurisdiction over custody matters.

Make sure you get in writing something from Dad saying he's ok with you relocating kiddo out of state.