Custom input element for string data type