6 ms·
The max length isn't for the user though. It's to prevent the user from inputting more data than the system can handle.
by david422 4y ago
The max length isn't for the user though. It's to prevent the user from inputting more data than the system can handle.
- rurban 4y agoIf it isn't for the user, it must be named maxsize. A string length is now the number grapheme clusters, or just the width.
- tobr 4y agoMax length is there to communicate to the user how much data the system can handle.
- withinboredom 4y agoThe user can submit data of any length… browsers aren’t required to implement validation for you. Nor is your user required to use a browser or client you wrote. This is security and application development 102, welcome to my class.