Copy link to clipboard
Copied
Home Address is the only field that is included with the standard Contacts web form. How come I can't add a Street Address, Apartment/Suite without creating a custom field for this?
There currently is no way to include a second Home address field for apartment or suite numbers that is tied to the CRM. You have to create an entire custom form for this.
I created a workaround for this.
1) Extend CRM database and add two fields called, "Street Address" and a second one called "Apartment/Suite"
2) Add those new fields to the contact form
3) Use jQuery to collect and store the values
4) Concatenate the values in the HomeAddress field using jQuery
$('#StreetAddress, #AptSuite,).bind('keypress blur', function() { |
$('#HomeAddress').val($('#StreetAddress').val() + ' ' + | |||||||||||
$('#AptSuite').val() ); | |||||||||||
}); |
Copy link to clipboard
Copied
Not sure you can without a custom field. What is wrong with a person typing in the address in one line? IE: 123 Anywhere St. APT. 101?
Copy link to clipboard
Copied
Thank you for your help. People in the United States don't type their apartment into one line like that. Business Catalyst never took in the consideration of the United States when creating this CMS.
Copy link to clipboard
Copied
I created a workaround for this.
1) Extend CRM database and add two fields called, "Street Address" and a second one called "Apartment/Suite"
2) Add those new fields to the contact form
3) Use jQuery to collect and store the values
4) Concatenate the values in the HomeAddress field using jQuery
$('#StreetAddress, #AptSuite,).bind('keypress blur', function() { |
$('#HomeAddress').val($('#StreetAddress').val() + ' ' + | |||||||||||
$('#AptSuite').val() ); | |||||||||||
}); |
Copy link to clipboard
Copied
Glad to see you found a workaround.
iWorldConcepts wrote:
People in the United States don't type their apartment into one line like that.
Unsure if I agree with this. I know many people, including myself, type the address, including suite/apt. number, in one line and rarely use other fields, if available.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now