If locationType name/label are different, for non-billing locations, the contribution form will not pre-populate known fields
How to reproduce:
- Login on https://dmaster.demo.civicrm.org
- Go to the contact record of the demo user, and enter a "Home" address
- Configure this contrib form, in Profiles, select the "Name and Address" profile (it includes the 'Home' address):
- Witness how it will correctly pre-populate the Home address on the contrib form:
That works because the name = label. Let's change the label of the Location Type:
- Change the Location Type label of "Home" to "Home2"
- Go back to the contribution form and witness how it does not show the address anymore :-)
Edited by bgm