Details
-
Type:
Sub-task
-
Status: Done/Fixed
-
Priority:
Minor
-
Resolution: Won't Do
-
Affects Version/s: HR-1.0
-
Fix Version/s: HR-1.0
-
Component/s: None
-
Labels:None
Description
Add another reserved custom-data group, "Immigration (Summary)", with field "Is Visa Required." Use AJAX API to provide in-place editing of the checkbox within the profile.
I don't know if you figured out how to do this yet, but to put the checkbox in the "Immigration" tab, one could use
CRM-12865( https://github.com/civicrm/civicrm-core/pull/1144/ ):function mymodule_civicrm_buildProfile($name) {
{ // see http://wiki.civicrm.org/confluence/display/CRMDOC43/Region+Reference CRM_Core_Region::instance('profile-edit-hrvisa_tab')->add(array( 'markup' => '<p>Is Visa Required <input type=checkbox .../></p>' )); }if ($name == 'hrvisa_tab')
}