Limiting video quantity

How can I limit the quantity and size of videos that the user can add to the list? I was only able to limit the quantity of images.


Sorry, there’s no simple code snippet for this, this would probably require using the hivepress/v1/forms/listing_update form, then counting all the uploads of video formats and returning an error, but this would not prevent the uploading - it would prevent the form from being submitted.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.