Is it possible to conditionally attach multiple files based on form values

By: Angie Raymond | Asked: 01/12/2025
ForumsCategory: How-toIs it possible to conditionally attach multiple files based on form values
Angie Raymond asked 9 hours ago
I want to use a different button  for checkout and attach different pdfs, depending on the form checkbox values, is this possible
1 Answers
Victor Font answered 8 hours ago
Custom code can make anything possible! Formidable forms have different submit buttons based on the field type, but only one final submit per form. Why do you want to use different buttons for checkout? What’s the business process you’re trying to automate? The more you can explain your goal, the better we can help. We need to understand what you’re trying to do.
Victor Font replied 8 hours ago

As for the question you asked in the post's title, the answer is yes with conditional logic after the submit button is pressed.

Angie Raymond replied 7 hours ago

<p>Thank you Victor! I have different bundles that each have a different Stripe Payment link (Different Submit Button link) as well as a different emails (offer with attachment). I have a field on a form called "Pick your bundle"; this answer will determine what attachments and what Stripe Payment link I send them to.</p>

Angie Raymond replied 7 hours ago

I figured it out! I didn't realize that the Actions after the submit button had conditional logic! So now I have 3 different Confirmations & Emails with conditional logic based on my Pick your bundle form field. This is great - thanks so much for your direction Victor 🙂

Angie Raymond replied 7 hours ago

Ran into a hiccup - I don't really want to send the email from the first form action UNLESS the payment is complete! Example: If they choose bundle 1 from the form, I can use a confirmation action to redirect them to the appropriate payment link BUT I don't want to send the email out unless that payment is complete!

Is there a way around using the Payment form through Formidable as I believe there is another % fee per transaction shaved off.

Victor Font replied 7 hours ago

I have no idea. I never used Stripe with Formidable. I don't use Formidable for collecting payments.

Making the Best WordPress Plugin even better - Together

Take on bigger projects with confidence knowing you have access to an entire community of Formidable Experts and Professionals who have your back when the going gets tough. You got this!
Join the community
crossarrow-right