How to set maximum/minimum rows in a subtable?


#1

Hi,

Is it possible to set the maximum/minimum number of rows to be shown on a subtable?

I would like to limit the size they can potentially grow. Perhaps then paginating after - say - 5 rows or something?

Thanks


#2

Hi,

At the moment, there is no way to limit the rows of subtables.

A workaround would be applying validation. For example, you can create a stand-alone field with COUNT() to count the rows of a subtable:
%E5%9C%96%E7%89%87
Then, apply validation on the stand-alone field so that the only numbers under 5 can be saved. For example:
%E5%9C%96%E7%89%87
Note: you may add a customized error message if necessary.


#3

Thanks Angie,

This is a good workaround.

Cheers