• Resolved seaforth

    (@seaforth)


    I have just received a design spec for a Divi site on which I had planned to use Forminator.

    The requirement calls for an initial form with two drop-downs. https://monosnap.com/file/JGkD3OnY5CmwCjuEBQPHhcSztzgfXe

    When you click the button it is supposed to trigger a second form in a pop-up. https://monosnap.com/file/lU5LWsl6ramZZnbM3ctFAPJLhsyX8y

    The two fields from the first form need to be submitted when the button is clicked on the second form.

    I understand that this is very similar to a multi-step form but the pop-up piece is throwing me off. I know I can make a single contact form appear in a pop-up, but I am not sure how to pass the info from the first form.

    Is this possible with Forminator and Divi?

    Thank you so much

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Williams – WPMU DEV Support

    (@wpmudev-support8)

    Hi @seaforth

    I hope you’re well today!

    By default, it is possible to pass data upon form submission from one form to another by using combination of redirect and URL parameters.

    So the first thing you’d need to do would be to configure the “second” form to enable “pre-populate” option for the fields that are to get data from the first form.

    This is described here:

    https://wpmudev.com/docs/wpmu-dev-plugins/forminator/#pre-populate-form-field-values

    Once you have that set, you are able to “fill-in” the form by simply passing values via the URL.

    Then you can set the first form’s “Submission behavior” (in form’s “Behavior” settings) to be a redirect and include necessary URL parameters in the redirect URL.

    This is described here (look for redirect section):

    https://wpmudev.com/docs/wpmu-dev-plugins/forminator/#after-submission

    This together would work in a “regular” setup where forms are put on pages. If it comes to popups – Forminator doesn’t have any specific integration with Divi itself and its (or 3rd-party) popups and it would depend on how such popup work in terms of code. If it puts all the popup HTML markup into the page source code upon page load and only uses JS to show/hide it, it should usually work fine.

    But if the popup is dynamically generated and/or “injected” to the page using JS/ajax it would be more complex and would require some additional custom code (I’m afraid providing such code is out of the scope of this support) to pass form data between such two forms.

    Kind regards,
    Adam

    Plugin Support Nithin – WPMU DEV Support

    (@wpmudevsupport11)

    Hi @seaforth,

    Since we haven’t heard from you for a while. I’ll mark this thread as resolved for now. Please feel free to open a new thread if you need any further assistance.

    Kind Regards
    Nithin

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.