Using POST for email form

Discussion in 'Customization & add-ons' started by liamjpwhite91, Sep 5, 2017.

  1. liamjpwhite91

    liamjpwhite91 New Member

    Joined:
    Oct 6, 2015
    Messages:
    1
    I've got a CTA on one of my pages where I want to allow the user to enter their e-mail, which when they submit, loads up the sign-up form with their e-mail entered in to the field.

    Was going to use POST to achieve this but I don't know where to begin? Any help?
  2. caesar

    caesar aMember Pro Developer Staff Member

    Joined:
    Oct 16, 2009
    Messages:
    2,295
    Hello,

    Just use URL of your signup form as action attribute ie.:
    HTML:
    <form action="/amember/signup">
        <input type="text" name="email" />
        <input type="submit" value="Sign Up" />
    </form>
    Best Regards.

Share This Page