0
Please guys, i don't know why the "minlenght" & the "maxlenght" attributes are not functioning?
<form> <label><b>COMMENT:</b></label><br /> <textarea type="text" placeholder="write a message" minlenght="15" maxlenght="30" required></textarea><br /> <input type="submit" value="Submit" /> </form>
3 Answers
+ 5
Hi, you have a typo in your attributes. It should be minlength and maxlength, not minlenght and maxlenght. Hope this helps!
+ 1
Paul thanks for the correction
0
@paul but it also works for the textarea elements. I just tried it & it worked