Skip Navigation

[Closed] Permit upload of media in front-end form

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.

This topic contains 1 reply, has 2 voices.

Last updated by Nigel 1 year, 8 months ago.

Author
Posts
#2577763

I am attempting to place a field in a Toolset form that would permit upload of media files (images). Is this possible? I have created a post-type Submissions to which a form is submitted. What are steps to accomplish this? Thanks.

#2577859

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

Hi there

You should add an image field to your custom post type: https://toolset.com/course-lesson/creating-custom-fields/#steps-for-adding-custom-fields-to-post-types

When you create a new form for some post type, all of its fields are automatically included in the form. If you already have a form to publish Submission posts, if you add an image field to the post type then when you edit the form again it will be possible to drag that field onto the form from the sidebar.

Note, you will probably want to enable using the native WP media manager for uploading images, see https://toolset.com/course-lesson/using-the-native-wordpress-media-manager-in-front-end-forms/

The topic ‘[Closed] Permit upload of media in front-end form’ is closed to new replies.