Forum Replies Created

Viewing 1 post (of 1 total)
  • Author
    Posts
  • in reply to: Subscription success message via ajax... possible? #161470
    oloccina
    Participant

    Thank you.
    I have now this custom form

    <div class="tnp tnp-subscription">
    <form method="post" action="https://nican.me/new/?na=ajaxsub" onsubmit="return newsletter_check(this)">
    
    <input type="hidden" name="nlang" value="">
    <div class="tnp-field tnp-field-email"><label>Email</label><input class="tnp-email" type="email" name="ne" required></div>
    <div class="tnp-field tnp-field-privacy"><label><input type="checkbox" name="ny" required class="tnp-privacy"> <a target="_blank" href="https://nican.me/privacy">I accept the privacy policy</a></label></div>
    <div class="tnp-field tnp-field-button"><input class="tnp-submit" type="submit" value="Subscribe">
    </div>
    </form>
    </div>

    Could you suggest what else I need to edit there in order for the ajax subit to work correctly?
    Right now is just redirecting to this page: https://nican.me/new/?na=ajaxsub
    I am not a developer but I can edit basic code.

    Thanks

Viewing 1 post (of 1 total)