Details
-
Type: Task
-
Status: Done/Fixed
-
Priority: Major
-
Resolution: Fixed/Completed
-
Affects Version/s: None
-
Fix Version/s: TMF-1
-
Component/s: None
-
Labels:None
Description
The TMF App and Nominate forms need to collect County info for the contact addresses. Rather than doing this as "custom code" - we'll add conditional support for county input and display to the core address code.
Since many users will not want to include County in their forms, we'll use the presence of civicrm_county data as a flag for this feature. If the civicrm_county table has one or more records, then buildAddressBlock and other address form/page functions should include a County: element.
Currently, we are inserting 6 records in civicrm_county in our civicrm_data.tpl / .mysql load. We should remove this - so county is only populated by users who want to use that element.
County should be available for inclusion in Profile add/edit, search forms, view and listings (selector).
Selected county_id should be validated against selected state_province_id in the built-in contact Add/Update form. This should also be done in Profile forms IF the state_province field is included in the profile. (I think this is the behavior we currently have for state_province -> country.)