We have a contact subtype that needs to have location types of 'Postal' and 'Geographical'.

I can edit the location types list to create those entries, but is it possible to restrict the available location types for only that contact subtype so none of the default locations (which we still want for individual contacts) are shown to users?

It'd also be handy to restrict which location types appear in which fields as, obviously, a postal location for a phone doesn't make a lot of sense!

2 Answers 2


As Erikh said you cannot control the location type options through CiviCRM UI but you can restrict filter them using either buildForm or fieldOptions hook.

If you are using drupal than you can use webform with conditional filtering to filter the options. HTH



You can not restrict location types to specific contact types in core CiviCRM. Obviously you can develop and extension that does this.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.