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 CiviEvent (Moderator: Yashodha Chaku) »
  • Pre-fill Conact data in Registration Form
Pages: [1]

Author Topic: Pre-fill Conact data in Registration Form  (Read 1437 times)

erich_prinz

  • I’m new here
  • *
  • Posts: 25
  • Karma: 1
Pre-fill Conact data in Registration Form
December 17, 2009, 02:12:42 pm
I'd like to send an email to a mailing list out of CiviCRM with a link back to the Event Registration screen and pre-populate the fields from the database into the profile screen.

I've played with several variations on the {contact.checksum} and {contact.contact_id} variables to no avail.

When I run through the test version of the registration screen, it pre-populates all the fields with my contact info (as admin), so it seems to me it should work.

Who knows the secret recipe - please tell!

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: Pre-fill Conact data in Registration Form
December 17, 2009, 04:01:55 pm
erich - did i not spot you were talking about events?

Checksum doesn't work for events yet - only Profiles and Contribution Pages

We have outlined our approach to sidestep this by 'opening a session' and sending users to a 'landing profile 'where the confirm their name and then get redirected to the Event page. A search on forum for 'checkbox event' will probably find that for you

am pretty sure this is spelled out in the doumenation and the book too (the fact that checksums don't work yet for Events) - I think I had a 4-5 hour quote to get it sorted. http://forum.civicrm.org/index.php/topic,8455.0.html
« Last Edit: December 17, 2009, 04:06:36 pm by peterd »
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

erich_prinz

  • I’m new here
  • *
  • Posts: 25
  • Karma: 1
Re: Pre-fill Conact data in Registration Form
December 17, 2009, 05:29:36 pm
Nice work around. I'll see if I can pull that off.

It is Registration for Events. So many requests, so few free resources to pull them off ;-)

CiviCRM is still one killer solution.

erich_prinz

  • I’m new here
  • *
  • Posts: 25
  • Karma: 1
Re: Pre-fill Conact data in Registration Form
December 31, 2009, 04:42:27 pm
Well, four hours later and I still haven't found the magical recipe to make this work.

The email link back with the contact.checksum brings the user back to a search results page. I've edited the profile to include a link to the Event Registration page, however, the Profile result page shows only the user info and NO links available.

So Peter, what are the steps? I can't figure it out! HELP!

Thanks :-)

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: Pre-fill Conact data in Registration Form
December 31, 2009, 05:46:41 pm
Erich - sorry to hear this is a struggle. Hope I have been clear enough. When I said below 'search for 'checkbox and event' i meant 'checksum and event' - not sure if you would have guessed that - and anyhow it looks like a search for 'checksum and session' would have been more helpful.

So, since  Checksums don't work for event so you need to try the following
- customise your setup so that a 'session' is created when someone uses a checksum so that when they move from the 'landing profile' to the event they remain 'recognised' by the system. the guy who did this for an earlier client said the code is at http://forum.civicrm.org/index.php/topic,4723.msg21668.html#msg21668 and "the key thing is to set  $session->set( 'userID', $id ) ; when the checksum validates"
- send people to your 'landing profile' and then redirect them (via Profile Adv Settings) to your event.

Obviously the above still steps around actually getting checksums working directly for Events - hopefully someone will need this enough to pay WebAccess to sort it.

Hope that helps.
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

erich_prinz

  • I’m new here
  • *
  • Posts: 25
  • Karma: 1
Re: Pre-fill Conact data in Registration Form
December 31, 2009, 10:05:38 pm
Thanks for the quick reply. I'll regroup and step through the process to see if we can't get it working. There may be some clarifying type questions if that's okay with you - I'll be detailed about it, promise!


Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviEvent (Moderator: Yashodha Chaku) »
  • Pre-fill Conact data in Registration Form

This forum was archived on 2017-11-26.