<p>I would suggest that you us the <a href="https://craftcms.com/docs/templating/user-registration-form" rel="nofollow noreferrer">Craft Member Registration</a> form and have them register as actual Craft members. </p>

<p>Once they're members and logged in, you can display elements of a page using something like:</p>

<pre><code>{% if currentUser %}
    Download this PDF...
{% endif %}
</code></pre>

<p>More info on the above, here: <a href="https://craftcms.stackexchange.com/questions/351/how-can-i-determine-if-a-user-is-logged-in-and-who-that-user-is">How can I determine if a user is logged in, and who that user is?</a></p>

<p>An obvious benefit to the above is that a member would only need to log in once and gain access to relevant content, instead of being asked to submit the information each time.</p>

<p>Let us know how you get on.</p>

CC BY-SA 3.0
2016-06-07T15:38:42.060Z
Thanks Matt for quick turn around time. How can I use this registration form and where. I completely new to this CMS
Prasanna
CC BY-SA 3.0
2016-06-07T16:59:16.933Z
@Prasanna I'd start by reading the Craft documentation (https://craftcms.com/docs) to get an overview of Craft specific concepts and for things like templating, which is what your'e looking for https://craftcms.com/docs/templating/
Brad Bell
CC BY-SA 3.0
2016-06-07T14:21:16.577Z
2016-06-07T14:21:16.577Z
2017-04-13T12:51:00.160Z
Matt P
<p>I want to create a registration form in my website like Name, email and comments.</p>

<p>Once the end user filled the details, I would like to allow him to download a PDF.</p>

<p>Could any one please let me know how can I achieve it in Craft CMS.</p>

<p>Thanks in advance. </p>

<form>
Registration Form
# Registration Form

(Asked by: username_0 on 2016-06-07)

I want to create a registration form in my website like Name, email and comments.

Once the end user filled the details, I would like to allow him to download a PDF.

Could any one please let me know how can I achieve it in Craft CMS.

Thanks in advance.

**Tags:** form

---

## 1 answers

### Answer by username_1 on 2016-06-07. Score: 2

I would suggest that you us the Craft Member Registration form and have them register as actual Craft members. 
Once they're members and logged in, you can display elements of a page using something like:
{% if currentUser %}
    Download this PDF...
{% endif %}

More info on the above, here: How can I determine if a user is logged in, and who that user is?
An obvious benefit to the above is that a member would only need to log in once and gain access to relevant content, instead of being asked to submit the information each time.
Let us know how you get on.

> **Comments:**
> **username_0**: Thanks Matt for quick turn around time. How can I use this registration form and where. I completely new to this CMS  
> **username_2**: @Prasanna I'd start by reading the Craft documentation (https://craftcms.com/docs) to get an overview of Craft specific concepts and for things like templating, which is what your'e looking for https://craftcms.com/docs/templating/  

---

