I am keying the input type off of the 'Hint' and 'Type' columns in the Config table. It would be easier if I just added an 'inputtype' column to the Config table, and I might do that later, but I don't want to mess with the database right now.