Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Nick Ciske

    (@nickciske)

    The form disappears on success (so length is irrelevant) and there’s an anchor to push the user to the form/success message if it’s below the fold.

    I’m not sure what else to say without seeing the form in question…

    Thread Starter rick435

    (@rick435)

    When this form is submitted (on any page) it goes to the bottom of the form.

    https://proest.com/2014

    Plugin Author Nick Ciske

    (@nickciske)

    Doesn’t for me. The sticky menu obscures the first line of the success message, but that’s a theme/layout issue, not a plugin bug.

    Which browser are you testing in?

    Thread Starter rick435

    (@rick435)

    Chrome in OSX, the only visible section is the last line. See screenshot.

    View post on imgur.com

    Thread Starter rick435

    (@rick435)

    I got it. I changed the line:

    $content .= “\n”.'<form id=”‘.$sf_form_id.'” class=”‘.($options[‘wpcf7css’] ? ‘wpcf7-form’ : ‘w2llead’.$sidebar ).’ ‘.$label_location.'” method=”post” action=”#’.$sf_form_id.'”>’.”\n”;

    to:

    $content .= “\n”.'<form id=”‘.$sf_form_id.'” class=”‘.($options[‘wpcf7css’] ? ‘wpcf7-form’ : ‘w2llead’.$sidebar ).’ ‘.$label_location.'” method=”post” action=”#top”>’.”\n”;

    Plugin Author Nick Ciske

    (@nickciske)

    That’ll work until the next update. I can add filter so you can change that non-destructively.

    Thread Starter rick435

    (@rick435)

    Sounds great, thanks. I’ll look forward to the update.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘If not redirecting to new URL, can submit take us back to the top of the page?’ is closed to new replies.