• Resolved GregW

    (@gwmbox)


    Is there a way I can create a button that when selected it will show the form in a popup OR will display the form below it (like an accordion drop down)?

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • Contact Form 7 itself does not include built in functionality for displaying forms in a popup or accordion style toggle.

    It focuses on form handling, so behaviors like modals, popups, or show/hide interactions are usually handled at the theme or JavaScript level.

    You can achieve what you’re looking for by:

    • Using a popup/modal plugin and placing your Contact Form 7 shortcode inside it, or
    • Adding a simple toggle/accordion with custom JavaScript or your theme’s existing components to show/hide the form when a button is clicked

    If your theme already includes modal or accordion features, that can often be the easiest way to implement this without additional plugins.

    Thread Starter GregW

    (@gwmbox)

    All good I was able to resolve this with some custom code 🙂

Viewing 2 replies - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.