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) »
  • Add extra fields in CiviEvent - Joomla 1.5.11/CiviCRM 2.2.3
Pages: [1]

Author Topic: Add extra fields in CiviEvent - Joomla 1.5.11/CiviCRM 2.2.3  (Read 2092 times)

isol

  • Guest
Add extra fields in CiviEvent - Joomla 1.5.11/CiviCRM 2.2.3
June 05, 2009, 11:07:18 pm
Hi,

My problem is I need to add extra fields to the event but these fields are not as simple as just HTML display. I tried to use Custom Data field but that didn't help me much (I am still novice to this component). I hope there is a way to resolve this issue.

After adding an event, I need to add a new section 'Meals Choices' which will provide following type of multiple-selection options:

1. Asian food ($15.00)     Yes/No (options can be either check-boxes or drop-down)
2. Mexican food ($20.00) Yes/No
3. Italian Salad  ($10.00) Yes/No
etc...

When a user accepts any of these options, that total is added to the total of Event's fee. So for example, if an Event's fee is $200, the total displays automatically $200 which is good. Later on, when the user chooses lets say 'Mexican Food', it should add $20 more to the total thus making the total.

If anyone can help me solving this situation, I would really appreciate it.

Thanks.

Eileen

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4195
  • Karma: 218
    • Fuzion
Re: Add extra fields in CiviEvent - Joomla 1.5.11/CiviCRM 2.2.3
June 06, 2009, 01:32:48 am
You need to look into price sets - it will do what you are after.

Read up on them in the CiviCRM manual here

http://en.flossmanuals.net/CiviCRM/EventPlanning
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

isol

  • Guest
Re: Add extra fields in CiviEvent - Joomla 1.5.11/CiviCRM 2.2.3
June 06, 2009, 10:29:25 am
Thank you Eileen for the prompt reply!

You are right, with the description I provided, the best solution is to use the 'price sets', however, I forgot to mention that choosing an event is also needed on the same event registration form. In other words, I have two price sections for the users to select. Initially they will choose:

Event 1 .... $300
Event 2 .... $500

and then later on we have to choose the meals.

Another work around which I may see is to create two separate events, i.e. Event 1 which will have meals option and Event 2 which will have its own meal options but then how will I assign that if one clicks on Event 1, add $300 to whatever the balance when they will finish filling out the form and if they select Event 2, add $500 to it?

One more thinking which comes in my mind is IF while setting price-sets, I may add 'Event 1' of $300 value in it provided there is a way that it stays SELECTED and no one is allowed to un-select that option. I have seen an option of choosing a 'default' in price-sets but not an option what I am looking for.

I am confused  ???, I hope someone has a solution to this. Please advise me a better solution to this.

Thanks.

Eileen

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4195
  • Karma: 218
    • Fuzion
Re: Add extra fields in CiviEvent - Joomla 1.5.11/CiviCRM 2.2.3
June 06, 2009, 02:35:53 pm
You can either create two events or you can set up events 1 & 2 as price set options (if the meal choices are the same for both).

If you do the later you will not be able to set a maximum attendance on each event and it will be difficult to get the number of each type of meal as it relates to each event. I think that different events is your best option but you will have to be comfortable changing code to get them both on the same form.
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

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviEvent (Moderator: Yashodha Chaku) »
  • Add extra fields in CiviEvent - Joomla 1.5.11/CiviCRM 2.2.3

This forum was archived on 2017-11-26.