I have a requirement where the user can enter/copy-paste 25 ids separated by comma in a textarea ; there is no maximum size for the ids.Thereafter he cannot enter any characters.He then submits those ids for search.
Is there any way to limit the id number to 25 and then not allowing the user to enter anything. I cannot use maxlength here.Also all these checking have to happen before user submits and the control reaches the angularjs controller. I am using angularjs,HTML5,CSS3,bootstrap.