5

On the demo site - http://wpmaster.demo.civicrm.org/wp-admin/ I have created a new set of custom fields for Events - "Events custom fields" with one text field - "test1".
I have added value "tst" for this custom field in the event template "Free Meeting with Online Registration". enter image description here

When using this template on a new event the custom field value is not populated with what's in the template. Do I have to use hook to copy over custom data? If so what's the hook? enter image description here

enter image description here

  • Did you consider, or try, adding the default value in the custom field itself? – petednz - fuzion Oct 3 '17 at 6:05
  • The default value in the custom field itself works on both event template and new event BUT this is not an option, you may have different values in the different templates and you want the value coming from the template. – Stoycho Oct 3 '17 at 9:07
  • Right, yes that makes sense. – petednz - fuzion Oct 3 '17 at 17:08
  • It seems something civicrm does support just yet (i.e. hook has to be used to copy over custom data). If civicrm dev can confirm? – Stoycho Oct 13 '17 at 17:02
  • * does NOT support just yet – Stoycho Oct 16 '17 at 9:01

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.