itemsPerFormConstraint function

Create number of items per test form constraints.