Skip Navigation

[Resolved] Download File after capturing user details

This support ticket is created 3 years, 2 months 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
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10: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: Asia/Kolkata (GMT+05:30)

This topic contains 2 replies, has 2 voices.

Last updated by chris-anitaS 3 years, 2 months ago.

Assisted by: Minesh.

Author
Posts
#2232193
image (4).png

1. We have included File upload as an option in our custom post type 'Case Study'. We want users to download the uploaded case study file. How do we link the file to "Download Case Study" button.

2. Before downloading the file, we would like to get user data as shown in screenshot. Kindly help on how we can set it up?

#2232305

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

1. We have included File upload as an option in our custom post type 'Case Study'. We want users to download the uploaded case study file. How do we link the file to "Download Case Study" button.
==>
You can build the anchor tag and set the custom field as source of the href attribute. For example;

<a href="[types field='audio-url-veber' output="raw"][/types]" download>Download Case Study</a>

2. Before downloading the file, we would like to get user data as shown in screenshot. Kindly help on how we can set it up?
==>
I see based on the screenshot you shared, you want to grab the information from user using the popup but there is no such feature offered by Toolset to grant information using popup. Even its not clear that if you want to store those information, if yes, you will require to create a Toolset form to grab the information from the user and to store the information you will require to create a post type.

#2235861

My issue is resolved now. Thank you!