Add a new function to change the input type from "select" to "radio".