# Poll Ad On - View Results conditional

**URL:** <https://community.gravityforms.com/t/poll-ad-on-view-results-conditional/831>\
**Category:** Get Help\
**Created:** [January 19, 2019, 4:31pm UTC](https://community.gravityforms.com/t/poll-ad-on-view-results-conditional/831 "2019-01-19T16:31:26Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![juneknoel](https://sea2.discourse-cdn.com/flex020/user_avatar/community.gravityforms.com/juneknoel/32/348_2.png) [@juneknoel](https://community.gravityforms.com/u/juneknoel)\
**Post date:** [January 19, 2019, 4:31pm UTC](https://community.gravityforms.com/t/poll-ad-on-view-results-conditional/831/1 "2019-01-19T16:31:26Z")

</div>

Hey guys! I’m wondering if there is a way to make the “View Results” for the poll section on this site [http://greenspacemt.com/](http://greenspacemt.com/) conditional? As in website visitors would have to enter their email address first before they can view the results. Is this doable at all? Thanks!

---

<div class="post-metadata">

**Author:** ![user5ac85239f1cac6.4](https://avatars.discourse-cdn.com/v4/letter/u/8797f3/32.png) [@user5ac85239f1cac6.4](https://community.gravityforms.com/u/user5ac85239f1cac6.4)\
**Post date:** [January 21, 2019, 2:05am UTC](https://community.gravityforms.com/t/poll-ad-on-view-results-conditional/831/2 "2019-01-21T02:05:08Z")

</div>

Edit: Now I see this won’t work because you don’t redirect after submission. It could work if you do, but I don’t know if that’s ideal.

Could you make it that they have to vote as well? Maybe you could add an email field, make it required to submit. In the confirmation, have it direct them back to the page, ideally bring them back to the poll by adding an html field to the top of the form.

Put in the html field,  
`<span id=poll-form></span>`

In the confirmation, redirect them to [http://greenspacemt.com/#poll-form?voted=1](http://greenspacemt.com/#poll-form?voted=1)

Put a hidden field pre-populated from voted (advanced -\> Allow field to be populated dynamically -\> enter voted)  
Make a new html field somewhere. Put in there,

```
<style>.gpoll_button{display:none}</style>

```

Use conditional logic to hide the new html field when voted is 1.

I don’t know if that’s what you were looking for but maybe that could work?

---

<div class="post-metadata">

**Author:** ![richardw8k](https://sea2.discourse-cdn.com/flex020/user_avatar/community.gravityforms.com/richardw8k/32/2354_2.png) [@richardw8k](https://community.gravityforms.com/u/richardw8k)\
**Post date:** [January 4, 2022, 5:34pm UTC](https://community.gravityforms.com/t/poll-ad-on-view-results-conditional/831/3 "2022-01-04T17:34:56Z")

</div>

Closed on January 4, 2022, 5:34pm UTC


