3

I've seen the option to double opt-in (send a confirmation email) when choosing a public group in webform, but I'd like to be able to:

  • customise the confirmation email sent
  • have a double opt-in for private emails

Is there a way to do that in webform civi? I tried to find a checksum token to be used in a custom email, does it exist?

Alternatively, is there a webform specific confirmation page that I could use? eg. https://www.drupal.org/project/webform_confirm_email

2

You can daisy-chain webforms using checksums, so on form 1 you set up your fields to collect contact detail data, then set up a second webform which actually adds them to your private email group, and having set the second webform up you can find the url with checksum on the CiviCRM tab of the webform, and then set that as the link that goes out in the email from the first webform.

| improve this answer | |
  • To be sure I understand: So the user would end up on the second "confirm" webform, but would still have to click on the submit button to properly register? – Xavier Oct 29 '15 at 10:11
  • Yes true. We haven't used this approach for what you are doing. we have used it where we are signing people up and on the second form getting extra info, giving them a drupal account etc. – petednz - fuzion Oct 29 '15 at 17:56
  • by checksum. you mean the one from {contact.checksum}? how can I access this from within a mail sent by webform? – Xavier Oct 30 '15 at 16:00
  • 1
    THe link i have go out from Form 1 linking to Form 2 is something like this Please visit this page to confirm your registration: http://<site>/node/<id>?cid1=[submission:values:civicrm_1_contact_1_fieldset_fieldset:civicrm_1_contact_1_contact_contact_id:nolabel]&cs1=[submission:values:civicrm_1_contact_1_fieldset_fieldset:civicrm_1_contact_1_contact_cs:nolabel] – petednz - fuzion Nov 1 '15 at 19:12
  • 1
    In fact, if you add the 'contact id' and 'checksum' values for the contact in the civicrm tab, and edit the webform components that it creates, there are instructions there on how to do this. – commonpike Feb 8 '18 at 10:02

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.