• Resolved norricorp

    (@norricorp)


    Hello,
    I have set up the newsletter subscriber form. Because I wanted to change the layout of the form, rather than use a shortcut or widget, I copied the html and pasted that into a custom html block and then made changes to the code. This appears to work but mailhog is not receiving notifications.
    But my question is when the subscribe button is pressed, is there a way of getting a confirmation message to the user such as “Your request has been sent”?
    Regards,

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter norricorp

    (@norricorp)

    Just to update the above.
    Currently I have the subscription form in two places. One is as a widget in the footer. This works in that mailhog captures two emails – one sent to the subscriber and one to admin. But I notice that the audience page in the dev env is not updated to show the new subscriber. Is that a bug?
    I also realised that the confirmation message I wanted in the previous post was a bit unclear. I wanted a message or popup on the browser to show success. Later the user will get the email confirmation.
    Now the next problem. The other place I have the subscription form is as custom html where I copied the html from the widget. I did this so I could change the layout of the form. But this does not trigger any emails to be caught by mailhog. So will this approach not work?

    Plugin Contributor kishanranawat

    (@kishanranawat)

    Hi @norricorp,

    Thanks for contacting us. We have attached our response to your queries as below

    I have set up the newsletter subscriber form. Because I wanted to change the layout of the form, rather than use a shortcut or widget, I copied the html and pasted that into a custom html block and then made changes to the code

    — Instead of form shortcode, using a custom HTML block might not work as expected. Also, we have checked your previous ticket related to the similar query have replied to it there. We hope our reply might be useful to you.

    is there a way of getting a confirmation message to the user such as “Your request has been sent”?

    — Yes, after the form submission, the plugin shows success/error messages to the user.

    I also realised that the confirmation message I wanted in the previous post was a bit unclear. I wanted a message or popup on the browser to show success. Later the user will get the email confirmation

    — Yes, you can change the confirmation message text from the Subscription success message option available in the plugin’s setting(Email Subscribers –> Settings –> General(tab))

    The other place I have the subscription form is as custom html where I copied the html from the widget. I did this so I could change the layout of the form. But this does not trigger any emails to be caught by mailhog. So will this approach not work?

    — We have tried with the custom HTML block. At our end, emails are getting triggered successfully. But since custom HTML block is used, success/error messages aren’t shown. Therefore this method might not work as expected. Instead, we would recommend you to use form shortcode and try custom CSS shared in this thread. It should work. Also, this will ensure your forms will work with future plugin updates.

    Hope this helps you. Let us know if you have any further queries.

    Thank you.

    Thread Starter norricorp

    (@norricorp)

    Many thanks for this.

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