Answers.Body: <p>Unfortunately, there is no setting for this. You would indeed need to create an extension that pre-fills the field in teh way you need it. If you have not done so yet, you may have a look at the <a href="https://docs.civicrm.org/dev/en/latest/" rel="nofollow noreferrer">CiviCRM Developer Guide</a> and/or get in contact with other developers: <a href="https://chat.civicrm.org/civicrm/channels/dev-newcomers" rel="nofollow noreferrer">https://chat.civicrm.org/civicrm/channels/dev-newcomers</a></p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-12-06T06:54:42.387Z
Answers.LastActivityDate: 2018-12-06T06:54:42.387Z
Answers.UserDisplayName: Fabian
Body: <p>Is there a way to allow a user to input urls into the website field of a contact without adding <code>http://</code> or <code>https://</code> to the string? </p>
  
  <p>I can't find a way to change settings for this field. </p>
  
  <p>A number of my users want to manually enter web addresses or sub-domains and they get rejected by the validation.</p>
  
  <p>Alternatively, is there some pre-process hook or extension that can handle insert the correct protocal as needed?</p>
  
Tags: <urls><user-experience><user-interface>
Title: Allow Website URL field without "http://" string
ThreadText: # Allow Website URL field without "http://" string
  
  (Asked by: username_0 on 2018-12-06)
  
  Is there a way to allow a user to input urls into the website field of a contact without adding `http://` or `https://` to the string?
  
  I can't find a way to change settings for this field.
  
  A number of my users want to manually enter web addresses or sub-domains and they get rejected by the validation.
  
  Alternatively, is there some pre-process hook or extension that can handle insert the correct protocal as needed?
  
  **Tags:** urls, user-experience, user-interface
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2018-12-06. Score: 1 | Accepted answer
  
  Unfortunately, there is no setting for this. You would indeed need to create an extension that pre-fills the field in teh way you need it. If you have not done so yet, you may have a look at the [CiviCRM Developer Guide](https://docs.civicrm.org/dev/en/latest/) and/or get in contact with other developers: <https://chat.civicrm.org/civicrm/channels/dev-newcomers>
  
  
  ---
  
  