modified input types to text constants