Length of text in the input field
i have a input field (passport number), The input field should display only 30 chars & the maximum length of input files should be 30 Chars.
i.e. , even though user enters more than 30 chars it shouldn't take.the size of the text in the input field should be less or equal to 30 chars, but shouldn't exceed 30 chars.
i tried giving the value for the property - length to 30 in the layout. but it is not restricting me to 30 chars.