Answers.Body: <p>For something that specific you'd need to write an extension. It would be a small one though, where you just use <a href="https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_validateForm" rel="nofollow noreferrer">hook_civicrm_validateForm</a> to check the value and reject it.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2023-07-11T23:30:23.340Z
Answers.LastActivityDate: 2023-07-11T23:30:23.340Z
Answers.UserDisplayName: Demerit
Body: <p>Is there a way in CIVICRM to not allow certain values in input fields?  For instance, I do not want folks to put &quot;Self-Employed&quot; in the Organization field of an organization contact.</p>
  
Tags: <configuration>
Title: Editing / disallowing certain values in input fields
ThreadText: # Editing / disallowing certain values in input fields
  
  (Asked by: username_0 on 2023-07-11)
  
  Is there a way in CIVICRM to not allow certain values in input fields? For instance, I do not want folks to put "Self-Employed" in the Organization field of an organization contact.
  
  **Tags:** configuration
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2023-07-11. Score: 1
  
  For something that specific you'd need to write an extension. It would be a small one though, where you just use [hook\_civicrm\_validateForm](https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_validateForm) to check the value and reject it.
  
  
  ---
  
  