treehouse : what would you like to learn today?
Web Design Web Development iOS Development

How to give download link after taking email address of user

  • on this site http://healmyptsd.com/ i want to add a new link in top link list called "free PDF" upon clicking on new "free PDF" link i want open a login modal box like this site's http://codebix.com/ log-in link. and in my site http://healmyptsd.com/ i just want to use modal box to get user's name and e mail address not for login.

    Modal box will have 3 things only

    1. Name
    2. Email
    3. submit button.

    upon submitting a PDF link will be shown which user can download. and "Modal box" should not be refreshed.


    and in future i will use user's collected email to send newsletters to user via WP-admin.
  • It sounds like you need a simple <form> and then just put a link to the FREE pdf on your landing page.

    Do you know how to make forms?

    "jitendra" said:
    and in future i will use user's collected email to send newsletters to user via WP-admin.


    Can wordpress do that? I didn't know that was possible... I always recommend using a third party system like Aweber.