Shortcode to get a field value in an entry from another form based on a lookup field?

By: AJ Shippy140 | Asked: 06/18/2024
ForumsCategory: General questionsShortcode to get a field value in an entry from another form based on a lookup field?
AJ Shippy140 asked 6 months ago
Hi there, We're looking for a way to dynamically display an entry based on the ID pulled from a lookup field. I've checked out the shortcode to display an entry based on ID: 
[frm-show-entry id=x]

Wondering if it's possible to change the entry ID "x" to a value that is pulled from a text lookup field. Any ideas?
2 Answers
Rob LeVineRob LeVine answered 6 months ago
I'm not sure what the context is, however, you might be able to echo/return the results of a do_shortcode call. It would be something like setting up a change event on the lookup and on the change you make an Ajax call to a PHP program passing the lookup ID and in the PHP program you call do_shortcode on frm-show-entry and return the result to the front end. Then again, I could be completely wrong.
Bobby Clapp answered 6 months ago
is this what you're looking for? https://formidableforms.com/knowledgebase/lookup/
Dedi Thorne replied 4 months ago

I'm not the original poster but that was EXACTLY what I was looking for. I'd seen it before and couldn't find it again.

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