When visitors come to a site they see a Facebook widget based on a the Facebook Fan Page URL.
I want the owner of the blog to fill out a “profile” form which I have made the form only visible to the blog owner (admin).
How can I use a shortcode to put into the widget based on a Facebook Fan Page field on the “profile”?




October 8, 2012 at 7:04 am
I have gone through several pages of help on shortcodes but have yet to find one where I can pull just one field from one record for use in a widget.
October 8, 2012 at 11:03 am
I'm not sure exactly what you're looking for. What exactly are you trying to show in your widget? Is this what you're looking for?
http://formidablepro.com/help-desk/referencing-a-value-from-a-past-database-in-a-current-one/
October 8, 2012 at 1:18 pm
I don't think so, so thank you for giving me the chance to re-explain.
I have a MU install and my blog admins have a bunch of affiliate links and social media links that I want to show on their site.
So, what I want to do is use shortcodes like [affiliatelink] and put that in the actual URL (like sodapop.com/[affiliatelink] so that when served, the link actually works.
I've created a Formidable form for them to fill out their affiliate link and their social media links.
I want to use these kinds of values from the fields of the form to complete URLs for social media widgets.
I hope that makes it clearer than mud.
October 8, 2012 at 1:29 pm
Is sodapop.com/[affiliatelink] in a custom display? How would you determine which affiliate link to show?
October 8, 2012 at 4:32 pm
I'm trying to get it to show up inside links in widgets and inside links in posts.
October 8, 2012 at 6:39 pm
And how I would determine which affiliate link to show is that there is only one record for the 'profile' form and there are fields for each. There is a field for the affiliate link, one for Facebook fan page, etc.
October 9, 2012 at 7:47 am
I'll give you another example. I'd like to set it up so that they put in their own Google Analytics code and then I would like use a shortcode in the Google Analytics field and have it work.
Is that even possible?
October 9, 2012 at 10:29 am
It sounds like you need to create a custom display, and then insert the custom display wherever you'd like the link to show. You can use the "single" option so only one entry will be used.
October 9, 2012 at 10:38 am
Here is more information on creating custom displays: http://formidablepro.com/knowledgebase/display-your-form-data/
October 9, 2012 at 11:26 am
OK, so when I use [formidable id=7 title=true description=true], I get the form.
When I use [display-frm-data id=7 entry_id=84] I get "That is not a valid custom display ID" even though the field ID is correct. I am trying to display this in a page.
October 9, 2012 at 11:27 am
I would also like to use this form across my WordPress installs, so how can use the key value to make this work?
October 9, 2012 at 11:29 am
I also tried [display-frm-data id=7 entry_id="84"] and got the same error.
October 9, 2012 at 11:37 am
Oh, I have to create the Display first. Got it.
October 9, 2012 at 12:11 pm
OK, so I had the right idea, but I just needed to create a Custom Display first. The single entry was the way to go. I have to duplicate the form and change the field key name for each one, but it's reliable.
Topic closed.