Forum Replies Created

Viewing 1 replies (of 1 total)
  • Thread Starter harryhorss

    (@harryhorss)

    Hi Walter,

    I noticed in your plugin description that you wrote:
    “Auto Focus the first element in the popup when it opens”

    Does this mean the popup maker should already be autofocusing without the need for my own custom script? If so, can you please advise me how I can activate it? Does the plugin have an autofocus feature or was the description above related to something else?

    My experience: When the form is embedded into the page (not in the pop-up maker), then using jQuery I can script autofocus on page load and it works, because the form is exposed during page load.

    However, with the popup maker being trigger by a button press as an overlay, it results in the form initially being hidden on page load (thus the autofocus script I have does not work, as the form loads after the button press action and not when the page loads)

    See the code showing the hidden element:

    <div style=”display: none;”>
    <input type=”hidden” name=”_wpcf7″ value=”6711″>
    <input type=”hidden” name=”_wpcf7_version” value=”4.6″>
    <input type=”hidden” name=”_wpcf7_locale” value=”en_US”>
    <input type=”hidden” name=”_wpcf7_unit_tag” value=”wpcf7-f6711-o3″>
    <input type=”hidden” name=”_wpnonce” value=”b8d7b3439a”>
    <input type=”hidden” name=”_wpcf7cf_hidden_group_fields” value=””>
    <input type=”hidden” name=”_wpcf7cf_hidden_groups” value=””>
    <input type=”hidden” name=”_wpcf7cf_visible_groups” value=””>
    </div>

    I really appreciate the time you have spent assisting me.

Viewing 1 replies (of 1 total)