CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Profiles (Moderator: Dave Greenberg) »
  • Auto-filling Profiles on Registration Form
Pages: [1]

Author Topic: Auto-filling Profiles on Registration Form  (Read 1107 times)

surrealdolphin

  • Guest
Auto-filling Profiles on Registration Form
August 19, 2009, 12:27:25 pm
Hi all,

I am trying to migrate a pre-existing membership database into a CiviCRM/Drupal installation.  I hope to send out a link to all the members allowing them to register an account in Drupal.  Is there any way of sending each of them a custom link (e.g. via contact id and checksum) so that the registration form (and all the custom profiles) will be pre-filled?

Many details are already known about the members, e.g. name, address, etc., so it would make it a lot easier for members to have their details automatically filled in when they click the link.  I'm willing to create a custom module if that's what it takes, but I'm not quite sure how to hook into the Profile API to achieve that, as it seems to require CRM_Profile_Form_Edit rather than CRM_Profile_Form_Dynamic.

Thanks,

Eileen

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4195
  • Karma: 218
    • Fuzion
Re: Auto-filling Profiles on Registration Form
August 19, 2009, 01:43:30 pm
There is a Drupal module to add drupal users. Once you add Drupal users they will automatically link with the CiviCRM user with the same e-mail.

I think you can trigger an e-mail as you add the users using the Drupal users module
Make today the day you step up to support CiviCRM and all the amazing organisations that are using it to improve our world - http://civicrm.org/contribute

petednz

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4899
  • Karma: 193
    • Fuzion
  • CiviCRM version: 3.x - 4.x
  • CMS version: Drupal 6 and 7
Re: Auto-filling Profiles on Registration Form
August 19, 2009, 01:50:13 pm
Yes a checksum to a Profile that requires Drupal registration should be the solution - provided of course you have imported your pre-existing data in to civicrm.

A checksum gives the recipient a link in the email with additional code that the website interprets as confirming who they are - bypassing login process - this profile will already be pre-filled with their existing data.

You may want to make some fields 'read only' eg make Name 'read only' but offer them a text box to advise you of any required name changes. That avoids part of the risk of two people at same email account/programme clicking on the link in each others email.

A more risk-averse process is to set up 'persistence' so you can move them from one profile to a second one (option for the latter bit is in Adv Settings in Profile - setting up persistence requires some code - pls search forum if you need it.) So your checksum sends them first to a profile that just asks them to confirm their name (as per above ie read-only name fields plus a text box for corrections, got married/divorced etc) - in this way  you are basically saying to them - if this is you, click SAVE otherwise go elsewhere.

HTH
HTH
Sign up to StackExchange and get free expert advice: https://civicrm.org/blogs/colemanw/get-exclusive-access-free-expert-help

pete davis : www.fuzion.co.nz : connect + campaign + communicate

surrealdolphin

  • Guest
Re: Auto-filling Profiles on Registration Form
August 19, 2009, 11:54:05 pm
Thanks a lot.  That's exactly what I was looking for.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Profiles (Moderator: Dave Greenberg) »
  • Auto-filling Profiles on Registration Form

This forum was archived on 2017-11-26.