Can anyone share the link in the documentation where you can create a custom FF shortcode based on a value in a field? I saw and have search the site and can't find it, no matter what I search on.
Here's what I need to do: I need the page to eval whether the value in a field is "active" or "inactive" and show specific content accordingly.
The page has conditional logic all set up - outside of FF - and I just need a shortcode that exposes the field value. If that makes sense.😜
Well, I just went off and created the following tutorial and now I kinda feel like a horse's backside because, lo and behold, it already exists in the Formidable Knowledgebase https://formidableforms.com/knowledgebase/php-examples/#kb-shortcodes, though with less detail and rambling than I added.
https://connect.formidableforms.com/user-tutorials/custom-shortcode-creation-basic/
That's the one I couldn't find on their site!
And don't sell yourself to short: your tutorial here is good! I have a have a sneaking suspicion that a modern, task-based, increasingly challenging tutorial series would be considerably successful with the community.
Similar to Salesforce Trailhead where designers and developers can take proscribed learning paths and also cherry pick modules to build their own learning paths.
Like Formidable's job board solution walkthrough on their site, but reimagined as a modern learning path, with an experience based in instructional design. Could even make the purpose-built LMS in Formidable.
There probably isn't a tutorial that teaches how to do this because apart from the fact that you must use the WordPress Shortcode API to construct your shortcode, all of the code you would use is customized to your purpose. This is an example where it may be best to arrange a paid consult with a developer. Please visit https://formidable-masterminds.com/developers-directory/ for available resources.
Yeah. I was looking for the link in the documentation with the sample code, not so much a tutorial.. although I think an updated tutorial series would be well received in the community 🙂
@Michael Clark - I'd be happy to help you with this. I've also kinda been meaning to write a short tutorial to give the basics of it for a Formidable case. Custom shortcodes are one of my favorite things :).
@Rob LeVine - curious. 🧐 Tell me more!
Please login or Register to submit your answer