• Hello!
    I need the contact form with dynamic content in the fields, opening in modal window.
    I need to transfer the field content into the contact form field on button click. Also the form must be opened in modal window (pop-up). Are there any expansion exist?

    I tried to use the Contact Form 7 + Easy Fancy Box + Contact Form 7 Dynamic Text Extension, but it is impossible to transfer the text to the form in the popup.

    Thank you!

Viewing 1 replies (of 1 total)
  • Moderator bcworkz

    (@bcworkz)

    I don’t think there is any CF7 extension to do this, as it’s a very specific need not many require. A custom coded solution is possible. First of all, even though the user experience may be identical, there’s a fundamental difference between modal content and pop up content that dramatically affects what you can or cannot do. A pop up is truly a different window, with a different DOM. Communicating between windows is sometimes possible under the right circumstance, but generally impossible due to browser imposed security restrictions.

    OTOH, a modal is part of the same window and DOM as the regular page content. It only appears independent through CSS trickery. Communicating with content by script is easy since it’s all one page. Thus in a modal, jQuery or JavaScript is able to alter DOM element properties. You can place an event listener on any particular page element. When that event occurs, callback script can set any input field value to whatever is necessary.

Viewing 1 replies (of 1 total)
  • The topic ‘Search for contact form with dymanic fields in modal window’ is closed to new replies.