0

I am using Email Subscription Form plugin. When I enter the email address in the form and click the submit button, the submitted email appears in the url and it redirects to the same page. I did the configuration as mentioned in the documentation but it is not working. Neither the subscription list is updated nor it shows the userProfile page.

<form name="form-subscribe-andradedev" id="form-subscribe-andradedev" data-request="formSubscribe::onAddSubscriber" data-request-update="'formSubscribe::alert': '#result'">
        <input type="email" class="form-control" name="email" placeholder="* Email" required>
        <input type="hidden" name="latitude" id="latitude">
        <input type="hidden" name="longitude" id="longitude">
    </form>
  • Reads like you need {% frameworks extras %} loading in the template somewhere. You also need the jquery loaded before that. – Pettis Brandon Nov 22 '19 at 18:29
  • Yes you were right, now again I am having another issue. The subscriber list is updated in the backend but no email is sent neither does the profile form opens. I have added the code of the form can you please check it. – smriti shrestha Nov 23 '19 at 10:09
  • Do I need to make any changes to the mail configuration setting? – smriti shrestha Nov 24 '19 at 06:17
  • Would you create a new question on stack overflow with those those things while I look into this. I will put my answer down below as the answer so people looking into this problem know what the answer is. – Pettis Brandon Nov 25 '19 at 18:23
  • I have solved it there was a problem with the configuration. Thank you for your help. I am getting a new problem can you please check it. – smriti shrestha Nov 27 '19 at 05:25

1 Answers1

0

Reads like you need {% frameworks extras %} loading in the template somewhere. You also need the jquery loaded before that.

Pettis Brandon
  • 875
  • 1
  • 6
  • 8