type prameter for input fields