Skip Navigation

[Resolved] limit and validate file types and size for custom fields in the admin

This support ticket is created 4 years ago. There's a good chance that you are reading advice that it now obsolete.

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.

Sun Mon Tue Wed Thu Fri Sat
9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 - - 9:00 – 13:00
14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 - - 14:00 – 18:00

Supporter timezone: Africa/Casablanca (GMT+01:00)

This topic contains 2 replies, has 2 voices.

Last updated by alex-gershovichG 4 years ago.

Assisted by: Jamal.

Author
Posts
#2104839

Is there a way to limit/validate file types and size for custom fields in the admin?

#2106483

Hello again,

I reached our 2nd Tier about the custom validation for file fields from the admin screens, and I am sorry to tell you that it is not possible right now. With the current code base, we cannot offer a way to validate each file field alone.

Regarding the renaming of a custom fields slug, the default behavior is that Toolset will update the existing values with the new slug.

All the best,
Jamal

#2106907

I see. Hopefully, it will be added in the future. Thanks.