Ok ... your goal is a little clearer now.
What happens if the user starts with 15 rows but after entering a few items, they discover the need for 17 rows ... or the actually only needed 12 rows ? In either situation the user is already restricted to 15 rows. Do they delete everything they have already entered and start over ?
Why the specific need to restrict the user from the beginning to X number of rows ?
|