Forum Academy Marketplace Showcase Pricing Features

Add limits to a list as Data Type

Hi,

I’m working on my app, and I would like to limit in somecases the limit of elements you can add to a data type list.

I have a Data Type call Files and is categorize under File Category (another Data Type). File Category has a field number call numberFilesAllowed. I would like that depending on that number, the system doesn’t allow me to upload more files to each row.

I hope I explain myself properly.

Thanks

Hello @PedroB welcome to the community!

Apply a condition to your upload logic to only allow a count of “less than” the nr of files that you want to allow.