Ad

Email Subscription Form In Octobercms

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>
Ad

Answer

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

Ad
source: stackoverflow.com
Ad