4

Is it possible to expose a field on the webform to the person submitting the form to allow them to decide if the activity is created?

There are some situations where we would want the person submitting the form to decide if they would like to create a follow up activity,

Thanks

  • I've never tried to expose a field to specify optional actons. If there is no browser based way to do it then it seems like it should be fairly easy to hook on form submission to chech a submitted value and then call the API to create an activity. – Joe Murray May 8 '15 at 22:23
4

The following steps should do it (requires version 4.10+ of the webform-civicrm integration module):

  1. Make the "Activity Type" field "User Select"
  2. Customize that field to remove all options except for "None" and the activity type you want.
  3. Optionally rename the field on the webform "Create Activity"
  4. Optionally rename the option labels to "Yes" and "No"
| improve this answer | |
  • Coleman - since the OP talked about a 'follow up' activity - and since civi does have the concept of Parent ID for an Activity to create a link, is this possible in civicrm currently? also any chance you could comment on civicrm.stackexchange.com/questions/16002/… – petednz - fuzion Nov 27 '16 at 22:51
  • meant "possible in webform-civicrm" but can't now edit comment – petednz - fuzion Nov 27 '16 at 22:57
  • 1
    Sorry webform-civicrm doesn't currently do follow-up-activity linking. – Coleman Dec 4 '16 at 3:48

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.