Pass entry ID of Form B to a view shortcode in Form A email body

By: Lisa W | Asked: 05/06/2025
ForumsCategory: General questionsPass entry ID of Form B to a view shortcode in Form A email body
Lisa W asked 2 weeks ago

Hey Formidable community -

I have a Form A with field 39 that is a dynamic lookup to Form B, where the entry from Form B is set in field 39 based on passing a parameter on the post URL:  https://resonantequity.org/2025-may-defensive-documentation/?program=4284

Form A does a PayPal payment, and there's an email confirmation going out when payment received. Works great, and I'm able to show data from the Form B entry just fine in that email using "[39 show=21]" etc. Awesome.

However, I'm stuck on getting that same Form B entry that's captured through the program=4284 passed parameter into a Form B View shortcode in that Form A PayPal payment confirmation email. The View shortcode is the standard "[display-frm-data id=485]" but I need an entry_id for that, and I'm stumped. How do I specify the entry_id that's been passed as a parameter into the post, and has been set for my Form A field 39, into this View shortcode for Form B? I can't hardcode 4284 in the shortcode because I have multiple posts set up with different passed parameters to different Form B entries. I tried "[display-frm-data id=485 entry_id=[39]]" and I also tried using the frm-set-get on the post itself to capture the 4284 there.... nope, nada.

Smart people, what am I missing?

Attachments
Rob LeVineRob LeVine Staff replied 2 weeks ago

I'll try via commenting because I answered the question, and the *&#$# forum never posted it, so let me know if you didn't get it via the notification. The bottom line is that you pass the parameter via the display-frm-data shortcode and retrieve it via [get param...]. I know you said you tried it, but there must be more to the story because that's how it does work.

Lisa W replied 2 weeks ago

@Rob TYSM for trying to help! I did actually get the initial reply also. I tried implementing and it didn't initially work, but I'm feeling more confident now so I will dig through this more to see if I can figure it out, and will write back if I get totally stuck. Very grateful for the path forward, we'll see if I can wrangle it from here!

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