• Resolved leemon

    (@leemon)


    Hi!

    Is it possible to restrict the file types (for example, just .jpg and .png files) that users are able to upload in file fields added via the recently added “User Fields” tab in the plugin settings?

    I know how to do it via code using the pmprorh_add_registration_field() function, but I’m wondering if it’s possible to do it using the new tab.

    Thanks in advance

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi @leemon!

    At this time there isn’t a way to restrict file types within the User Fields settings. If you were looking for a no-code way to achieve this you could utilize a file restriction plugin, like WP Upload Restriction (or similar), and add a Hint to your User Field stating the file types that are allowed.

    Thanks!

    Because there have not been any recent updates to this topic, we will be changing the status to resolved. If you have any new questions or if your issue persists, please feel free to create a new topic.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Restrict file type in file fields’ is closed to new replies.