3

I'd like to prevent a single contact from having two addresses with the type 'Home' (or 'Work', etc.). Is there a CiviCRM configuration, or an extension, that provides this functionality?

3
  • I don't think it's possible in the UI to create two home addresses. Form validation prevents it. Where are they coming from?
    – Coleman
    Commented May 27, 2016 at 21:02
  • Imports perhaps? Commented May 27, 2016 at 22:19
  • Thanks, @Coleman. Should have guessed the UI would prevent this. Looks like they're created as part of a webform-civicrm form submission -- which I guess means they're created via API. Need to dig further I suppose.
    – TwoMice
    Commented May 31, 2016 at 19:21

1 Answer 1

1

The form validation in the user interface will prevent this. So there's no need to have a setting that would prevent it.

But the API does not prevent it: you can, for example, create a second Home address for a contact through the API. There is no API configuration or option to prevent this.

Thanks @Coleman for pointing this out.

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.