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) »
  • freeform donation field with event registration
Pages: [1]

Author Topic: freeform donation field with event registration  (Read 1492 times)

brianteeman

  • Guest
freeform donation field with event registration
February 24, 2009, 03:25:20 pm
I've seen many people asking about adding an option for a donation with an event registration and they have recieved an answer of creating a series of donation ammounts. Sadly this isnt ideal as you cant cover all amounts.

I realised that if you create a price field in your price set as below it works really nicely

Field Label Donation in multiple of
Input Field Type Text/Numeric Quantity
Price 1


note if you dont say "in multiple of" then the output will just be donation -$1 and it wont be clear that the user has to input the actual ammount to donate. Donation in multiple of - $1 should be clear to everyone.

Hope this helps

alanski

  • I post frequently
  • ***
  • Posts: 216
  • Karma: 5
  • Cup of tea? Yes please
    • Joomkit
  • CiviCRM version: Version in post
  • CMS version: Joomla
  • MySQL version: 5.0
Re: freeform donation field with event registration
March 27, 2009, 04:27:13 am
But does it get added as an event fee cost or a donation for the user?
:)

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: freeform donation field with event registration
March 27, 2009, 07:10:15 am

All the price set values get added to the event fee cost

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

robertjd

  • I’m new here
  • *
  • Posts: 14
  • Karma: 0
Re: freeform donation field with event registration
October 22, 2009, 09:03:34 am
Is it possible to use this method, but not require the registrant to enter a value into that field?

I have a price set with the same kind of field, but if you do not enter anything into the field you get the message: "Select at least one option from Event Fee(s)."

Entering 0 for the value does not work either.

Thanks,
Robert

robertjd

  • I’m new here
  • *
  • Posts: 14
  • Karma: 0
Re: freeform donation field with event registration
October 22, 2009, 09:11:41 am
I have just found this post:

http://forum.civicrm.org/index.php/topic,6641.0.html

Which says that some code changes would be required to make this happen.

desert_rider

  • Guest
Re: freeform donation field with event registration
October 25, 2009, 05:17:13 am
Hey brianteeman,

We do exactly this but we hide the price ($1) for the donation item in addition to your settings. You can choose not to display the fee under the price set price option settings.

That way they just enter a value for their donation and the page looks something like:

Donation: [text box for their donation value]

The donation is added to their event registration so it is listed as an event fee in CiviCRM, not as a donation.

This has worked really well for us

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviEvent (Moderator: Yashodha Chaku) »
  • freeform donation field with event registration

This forum was archived on 2017-11-26.