maxlength and threedecimals attribute added