• Resolved seank123

    (@seank123)


    Is there a form plugin that will let me generate a shortcode?

    For example:

    I need a shortcode like this: [shortcode year=”xxxx” league=”yyyy” division=”zzzz”]

    So I need a dropdown to select the Year, League and Division which would then generate and display the shortcode.

    Is this possible with a form?

    • This topic was modified 5 years, 5 months ago by Jan Dembowski.
    • This topic was modified 5 years, 5 months ago by Jan Dembowski. Reason: Moved to Fixing WordPress, this is not a Developing with WordPress topic
Viewing 4 replies - 1 through 4 (of 4 total)
  • Are you trying to have the page forward based on the options selected? If so, you can do this with Gravity Forms https://www.gravityforms.com/ or WP Forms https://wpforms.com/.

    Hope this helps. Once you find a solution please tag the thread as resolved.

    Thread Starter seank123

    (@seank123)

    @binarywc thanks – but what I’m looking to do is embed a shortcode in a page but have it generated from a couple of dropdowns so I’m thinking it would more likely work better with PHP in the page but I’ll have a look at your suggestions

    Unless I am missing something what you are trying to do can be done using conditional logic which gravity forms offers. I would suggest looking closer at what the full feature set of Gravity Forms before writing custom code.

    Thread Starter seank123

    (@seank123)

    @binarywc thanks for the replies and suggestions.

    I’ve had a look at doing it with PHP and have managed to get it working!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘A Shortcode from a form?’ is closed to new replies.