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) »
  • Additional Fields on Event Thank-You page?
Pages: [1]

Author Topic: Additional Fields on Event Thank-You page?  (Read 708 times)

benjeewest

  • Guest
Additional Fields on Event Thank-You page?
August 24, 2009, 02:46:59 am
Hi there,

As part of our event registration process, we'd like to ask registrants an extra set of optional questions (e.g. equal opportunities/demographic info) after they've completed the main event signup and completed payment. We don't want to include these questions in the main signup process, as it would make the registration form too long and deter potential registrants.

I was wondering if there was a way of embedding, or linking to an additional profile form within the 'thank you' screen? As far as I can see, there are two main ways of doing this, neither of which have been successful for me. If anyone can suggest an alternative method or possible workarounds, then I'd be massively grateful:

1) pasting the html for a standalone profile form in the text displayed on for the 'thank you' page. - seems to either cause the server to timeout, or display a message indicating an attempted security breach- is it possible to manually insert this code into the database?

2) including a token/checksum link to a profile containing the optional questions in the 'thank you page'- thank you page doesn't seem to process the tokens, and so the link remains as http://------------/standalone/index.php?q=civicrm/profile/edit?reset=1&gid=7&id={contact.contact_id}&{contact.checksum}

Any help on this I'd be hugely grateful for- thanks!

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Additional Fields on Event Thank-You page?
August 24, 2009, 05:26:35 am

I would go with option 2.

Since the page does not process token, you will need to implemnt it via a hook and expose the contact_id and checksum as smarty variables, so you can include it in a custom template

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviEvent (Moderator: Yashodha Chaku) »
  • Additional Fields on Event Thank-You page?

This forum was archived on 2017-11-26.