Need a syntax to create one or more constraints?

Hello everyone.
Please, I have two questions in my form where I would like to introduce constraints.
Example: the first question asks about the number of plots a grower owns.
The second asks about the year of creation of the plot(s) listed in the first question.

Now I would like to limit the recording of the year of creation based on the number of plots listed. In other words, if you enter two plots, for example, you should be able to enter only the two years corresponding to the two plots, each in its own row or column.
Thank you for your input.

Welcome to the community, @six06! It seems like your first question is an integer question and what would you like to have the second question type be? Would it be the integer question too?