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 Participant question - please help!
Pages: [1]

Author Topic: Additional Participant question - please help!  (Read 923 times)

Semp2pts

  • Guest
Additional Participant question - please help!
May 09, 2009, 11:10:08 pm
Hey guys,

Ok. So I get that it's not a feature of civicrm yet that you can only display some fields or profiles on the additional participants pages when registering for an event..

Is there a way that I could auto-fill some of my fields (like the organisation name, address etc) from the first participant?

That would solve pretty much all my problems because at the moment I'm using the work around to hide the additional fields that I don't want but that means I have to make them "not required" and then, also, in the email that is sent out there are heaps of blank spaces :S :(

Help?

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 Participant question - please help!
May 10, 2009, 07:19:44 am

you can do this by implementing the buildForm hook and setting the default values for all additional participant forms.

check http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+hook+specification

Do ping us on IRC if you have any questions or need clarification on some of the stuff. if you are not familiar with PHP, consider hiring someone from http://civicrm.org/professional.

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 Participant question - please help!

This forum was archived on 2017-11-26.