How to stop adding more input values after a certain length has reached?
I’m creating a football lineup creator where the user can select between a keeper, defender, 3 different types of midfielders, and a forward, with each position having a maximum number (this seems to be working well). However, I want the user not to be able to add more players to the lineup when they’ve added 11 players.