Skip Navigation

[Resolved] How to restrict the number of inputs in multiple value field

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

This topic contains 1 reply, has 2 voices.

Last updated by Christopher Amirian 1 year, 6 months ago.

Assisted by: Christopher Amirian.

Author
Posts
#2473277

I am using the file field to allow users to upload multiple resumes.

Link - hidden link

I would like to allow only up to 3 resumes. How can I add this restriction in Toolset?

#2473329

Christopher Amirian
Supporter

Languages: English (English )

Hi there,

There is no built-in way in Toolset to achieve such feature.

You can use the Javascript code below to know how to change it to accommodate your use-case:

https://toolset.com/forums/topic/limit-number-uploading-files/#post-335393

Please consider that it is a Javascript code and it does not control the number of uploads in the backend. So if for some reason the JS code fail to run the user might be able to add more files.

Thank you.

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.