Added text input types function
Merge pull request #5747 from andy-saint/input-types

Added text input types function