Answers.Body: <p>If there is no code that applies to either the event or a price line item that is used in the event price set the discount code block should not appear.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-09-01T14:57:58.610Z
Answers.LastActivityDate: 2017-09-01T14:57:58.610Z
Answers.UserDisplayName: KilakwaBT
Answers.Body: <p>You can remove it with CSS though you may need some JS if you want the "enter discount code" to appear on some event/contribution pages but not on others (so you need to examine the URL).</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-10-04T13:30:07.593Z
Answers.LastActivityDate: 2017-10-04T14:20:17.020Z
Answers.LastEditDate: 2017-10-04T14:20:17.020Z
Answers.UserDisplayName: KarinG - Semper IT
Body: <p>How to hide the "If you have a coupon code, enter it here" option, in an online registration form to an event?</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-10-04T04:08:44.663Z
Comments.Text: I have the same question. I'm using an automatic 100% off for contacts who are part of smart group that codes for membership status. I don't want the "enter the code" option on the form either. No idea how to get rid of it though.
Comments.UserDisplayName: MichelleP
Tags: <cividiscount>
Title: How to hide the "If you have a coupon code, enter it here" option, in an online registration form to an event?
ThreadText: # How to hide the "If you have a coupon code, enter it here" option, in an online registration form to an event?
  
  (Asked by: username_0 on 2017-09-01)
  
  How to hide the "If you have a coupon code, enter it here" option, in an online registration form to an event?
  
  **Tags:** cividiscount
  
  > **Comments:**
  > **username_1**: I have the same question. I'm using an automatic 100% off for contacts who are part of smart group that codes for membership status. I don't want the "enter the code" option on the form either. No idea how to get rid of it though.  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_2 on 2017-09-01. Score: 1
  
  If there is no code that applies to either the event or a price line item that is used in the event price set the discount code block should not appear.
  
  
  ---
  
  ### Answer by username_3 on 2017-10-04. Score: 1
  
  You can remove it with CSS though you may need some JS if you want the "enter discount code" to appear on some event/contribution pages but not on others (so you need to examine the URL).
  
  
  ---
  
  