Answers for "limit in input field"

1

input limit file type html

<!-- (IE 10+, Edge (EdgeHTML), Edge (Chromium), Chrome, Firefox 42+) -->
<input type="file" accept=".jpg,.png,.pdf" />
Posted by: Guest on February-10-2020
0

getline limit input

string text;
getline(cin, text);
text = text.substr(0, 100);
Posted by: Guest on September-22-2020

Code answers related to "limit in input field"

Browse Popular Code Answers by Language