Answers.Body: <p>One way to avoid such behavior is to write <a href="https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_buildForm/" rel="nofollow noreferrer"><code>hook_civicrm_buildForm</code></a> and use contribution page id as a trigger in if condition and use jQuery to remove 'None' option from dropdown/radio.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-06-05T18:25:31.273Z
Answers.Text: Can you explain how implementing this hook would answer the question and provide an example of how this would be achieved?
Answers.UserDisplayName: HomoTechsual
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-06-05T18:22:36.853Z
Answers.LastActivityDate: 2018-06-05T18:22:36.853Z
Answers.UserDisplayName: Hassan Farooq
Body: <p>As the title says, we have a price set - its required, but the none option remains. This is being used for a membership sign up contribution page. Sorry I did not clarify earlier.</p>
  
  <p>Civi 5.1, wordpress 4.9</p>
  
  <p>Update: we ended up creating a new price set, making the options required, and a new contribution page and it all worked out.</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2018-06-05T04:39:23.163Z
Comments.Text: Are you able to provide more information? Are you talking about on a contribution page?
Comments.UserDisplayName: Luke Stewart
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2018-06-05T15:21:06.960Z
Comments.Text: Can you provide more information like what sort of price set are you using? Are you referring to quick config price set created through contribution page? Adding screenshot to support your question would be helpful.
Comments.UserDisplayName: Pradeep Nayak
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2018-06-05T18:19:18.387Z
Comments.Text: Hi @themak - rather than updating the question can you post your solution as an answer and accept it - or remove the question entirely.
Comments.UserDisplayName: HomoTechsual
Tags: <civimember>
Title: Price set is required but “-none-” option remains
ThreadText: # Price set is required but “-none-” option remains
  
  (Asked by: username_0 on 2018-06-05)
  
  As the title says, we have a price set - its required, but the none option remains. This is being used for a membership sign up contribution page. Sorry I did not clarify earlier.
  
  Civi 5.1, wordpress 4.9
  
  Update: we ended up creating a new price set, making the options required, and a new contribution page and it all worked out.
  
  **Tags:** civimember
  
  > **Comments:**
  > **username_1**: Are you able to provide more information? Are you talking about on a contribution page?  
  > **username_2**: Can you provide more information like what sort of price set are you using? Are you referring to quick config price set created through contribution page? Adding screenshot to support your question would be helpful.  
  > **username_3**: Hi @username_0 - rather than updating the question can you post your solution as an answer and accept it - or remove the question entirely.  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_4 on 2018-06-05. Score: 0
  
  One way to avoid such behavior is to write [`hook_civicrm_buildForm`](https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_buildForm/) and use contribution page id as a trigger in if condition and use jQuery to remove 'None' option from dropdown/radio.
  
  > **Comments:**
  > **username_3**: Can you explain how implementing this hook would answer the question and provide an example of how this would be achieved?  
  
  ---
  
  