• Resolved mullenable

    (@mullenable)


    Hello-

    Does anyone know if there is a way to redirect a new subscriber to a new page after signing-up? Or is there to have a different widget (a scheduling widget) appear after they sign-up?

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    We actually just released a bug fix for the plugin that removes our attempt to smartly grab the URL of the current page the form is on, instead letting the form post to itself. However, I saw your thread here before we released the update, so I was able to instead make that value filterable, while defaulting to the originally intended empty string. If you need help with setting something up for this filter, let me know, as we don’t have any UI item for this.

    See below:

    /**
     * Filters the action value to use for the contact form.
     *
     * @since 1.1.1
     *
     * @param string $value   Value to put in the form action attribute. Default empty string.
     * @param int    $form_id ID of the Constant Contact form being rendered.
     */
    $form_action = apply_filters( 'constant_contact_front_form_action', '', $form_id );
    
    // Build out our form.
    $return .= '<form class="ctct-form" id=' . $rf_id . ' action="' . esc_attr( $form_action ) . '" method="post">';
    

    Let me know if you have any other questions.

    Yes, I was thinking the same thing because I wanted to send them to a thank you page but didn’t see it in the settings.

    Would love to see this as an option in the UI in the future but would like an alternative solution for the meantime. ??

    • This reply was modified 8 years, 3 months ago by Charla.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Redirect after Subscribing’ is closed to new replies.