No. Shortcodes work out of the box. All shortcodes have to be registered with The WordPress Shortcode API. Once registered in the plugin’s setup routine, Formidable simply calls do_shortcode() and WordPress takes care of the rest. That should help clarify the puzzle.
Without deeper troubleshooting on your site, it's not possible to say why it's not working. Are you sure field 45 in entry 9 has a value saved in the database?
Yes, I'm sure. Interestingly, I found a way to list all the active shortcodes in my WordPress installation, and the only Formidable shortcode registered is [Formidable] (which embeds a form on a page]. None of the others referenced in the Formidable knowledgebase articles are there. Also, I found a hint in one of the articles that you can only use Formidable shortcodes in a View; supposedly you create a view with the shortcode then embed the View on a page. I'm going to experiment with this later today. Thanks again for your help.
I'm so used to doing shortcodes the WordPress way that I forget in the early days, I think Formidable did something proprietary with how they execute shortcodes. At least, when I tried to extract shortcode related content from Formidable's source code when I was creating the Formidable Codex, I couldn't make heads or tails of how the shortcodes where being generated. I haven't revisited this this topic since.
This wasn't working for me either and was driving me nuts. Thought I would post here in case someone can explain why this doesn't work and in case the solution I found can help someone else. I haven't seen this documented anywhere.
Problem: Values are not transferring from fields in Form 1 to fields in form Form 2 that have a default value of [frm-field-value ...].
Solution: Perform the value transfer test on pages that do not recognize me as logged into my WordPress admin account.
Background:
1. I have a confirmation enabled with 'redirect to URL' for Form 1 (settings > actions & notifications). The redirect URL ends with ?pass_entry=[key sanitize_url=1]. Form 1 is embedded in Page 1 web page.
2. I have the default values for the fields on Form 2 that are to receive the values from Form 1 set to [frm-field-value field_id=999 entry=pass_entry] with 999 changed to the field numbers from Form 1 for the corresponding fields. Form 2 is embedded in Page 2 web page.
3. I open a new tab, navigate to Page 1, enter test values, click submit. I'm taken to Page 2, but the test values do not appear in Form 2. I realized this was happening with me logged into my WordPress admin account. When I navigate to Page 1 in a new tab, I can see the WordPress admin bar at the top of the page.
4. Success. When I navigate to Page 1 in an incognito window, I don't see the WordPress admin bar at the top of the page, I enter my test values and click submit. I'm taken to Page 2 and now the test values appear in Form 2. Page 1 and Page 2 are test pages and are publicly viewable (don't require login).
When I'm done with my preliminary testing I will change these pages to require a login. Hopefully the value transfer continues to work when I make that change.
Is this expected behavior? Can you explain why this is happening in this way?
Please login or Register to submit your answer