Polydactyly is both hereditary and acquired during development.