Add formatting of input field