Timeline for How do you set the displayed text of a custom field ("view-only")?
Current License: CC BY-SA 3.0
6 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Feb 22, 2018 at 13:16 | vote | accept | Sleewok | ||
Feb 21, 2018 at 11:39 | comment | added | Aidan♦ |
To react to custom fields being updated, use hook_civicrm_custom
|
|
Feb 21, 2018 at 11:38 | history | edited | Aidan♦ | CC BY-SA 3.0 |
Added example watching custom field
|
Feb 20, 2018 at 20:22 | comment | added | Sleewok | Can you give me a little more direction setting the value of the field when another custom field is updated? I'm trying to get post working, but it isn't running when I do an inline edit of the custom field (I'm probably doing something wrong). | |
Feb 20, 2018 at 13:35 | comment | added | Sleewok | Your explanation is extremely helpful. I obviously did not understand how "view only" functions. Now it make a lot more sense to me. In this case I need to update the field when another custom field is updated. For example, I have a contact reference field. I want to get a specific group that the referenced contact is within and set that to be the field value. | |
Feb 19, 2018 at 17:15 | history | answered | Aidan♦ | CC BY-SA 3.0 |