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) »
  • Custom fields in events
Pages: [1] 2

Author Topic: Custom fields in events  (Read 8428 times)

CousiMo

  • I post frequently
  • ***
  • Posts: 126
  • Karma: 2
Custom fields in events
August 27, 2007, 12:48:46 pm
i've added custom fields to an event registration, a required field when registering.  the confirmation email will list the information, but when i goto the person profile, its not saved.. instead i see 24944

any ideas?

but it doesn't always happen/..

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: Custom fields in events
August 27, 2007, 01:03:44 pm

Please reproduce this on http://demo.civicrm.org/drupal/ and if reproducible, file an issue

Note that custom fields are not supported for event / membership registration in 1.8. This is a bug and will be fixed in a 2.x series

thanx

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

mcsmom

  • I post frequently
  • ***
  • Posts: 266
  • Karma: 23
    • Official Joomla! Book
  • CiviCRM version: 4 and 3.4
  • CMS version: Joomla!
Re: Custom fields in events
September 06, 2007, 03:22:30 am
Okay, that's confusing since you can add profiles and the profiles can include custom fields.

Update: Plus events is an option for apply to when you are creating a custom data group.
« Last Edit: September 06, 2007, 05:18:13 am by mcsmom »

lcdweb

  • Forum Godess / God
  • I live on this forum
  • *****
  • Posts: 1620
  • Karma: 116
    • www.lcdservices.biz
  • CiviCRM version: many versions...
  • CMS version: Joomla/Drupal
  • MySQL version: 5.1+
  • PHP version: 5.2+
Re: Custom fields in events
September 07, 2007, 10:15:57 am
Is there any recommended workaround for handling custom fields for an event in 1.8? I tried mickey-mousing it through the price sets. That's possible for checkbox/radio fields (you can set it to a $0 value and indicate the amount is not visible), but I have to collect some text field data.

If not, any ETA on when the 2.0 fix will be available? Any chance it could be fixed in the rumored v1.9?
support CiviCRM through 'make it happen' initiatives!
http://civicrm.org/mih

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: Custom fields in events
September 07, 2007, 12:25:04 pm

a 2.0 release is expected in oct/nov (i suspect it will be delayed because of the 1.9 release)

1.9 is focussed only on CiviMail and a few schema changes but no changes to any other functionality

If you need it earlier, consider making a code contribution

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

lcdweb

  • Forum Godess / God
  • I live on this forum
  • *****
  • Posts: 1620
  • Karma: 116
    • www.lcdservices.biz
  • CiviCRM version: many versions...
  • CMS version: Joomla/Drupal
  • MySQL version: 5.1+
  • PHP version: 5.2+
Re: Custom fields in events
September 07, 2007, 01:45:10 pm
I would love to. Except that to call me a code hack would be generous.
In your previous post you indicated the absence of the custom fields was a bug. Did they exist in previous versions, and were "broken" in this most recent version?
-Brian
support CiviCRM through 'make it happen' initiatives!
http://civicrm.org/mih

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: Custom fields in events
September 07, 2007, 05:06:32 pm

Its a missing feature for paypal standard / google checkout type payment processors. Custom fields work fine if u use PayPal Web Standards Pro / Authorize.net etc. This "bug" has existed in prior versions also

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

mcsmom

  • I post frequently
  • ***
  • Posts: 266
  • Karma: 23
    • Official Joomla! Book
  • CiviCRM version: 4 and 3.4
  • CMS version: Joomla!
Re: Custom fields in events
September 08, 2007, 04:40:17 pm
Hi Lobo,

Now I'm totally confused. Can I or can't I use custom fields? If I put them in is there any way to get the data back back out again?  Because I'm not seeing it. Also is there any way for the user to be able to review their information? Because the dashboard doesn't show the custom information.


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: Custom fields in events
September 08, 2007, 10:29:37 pm

1. Yes you can use custom fields IF you are using paypal web payments pro or authorize.net as your payment processor

2. View participant should show you the custom fields info.

3. In 1.8 and prior, the user cannot see the custom information. We'll probably consider doing this in a 2.x release

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

mcsmom

  • I post frequently
  • ***
  • Posts: 266
  • Karma: 23
    • Official Joomla! Book
  • CiviCRM version: 4 and 3.4
  • CMS version: Joomla!
Re: Custom fields in events
September 09, 2007, 04:47:30 pm
So, just thinking out loud here, the thing to do would be to send to a separate profile page on submission in order to  be able to collect the data.

Would you ever consider making it possible to do multiple items without a payment processor? for example, I really just want to collect things people contribute to our annual silent auction. Some people might do 5 items. I need to collect details and a value.

I guess for now what I do is put it in a tab.But it's not really right.

karunadave

  • I post occasionally
  • **
  • Posts: 50
  • Karma: 0
    • Karuna Dev
  • CiviCRM version: 4.4.4
  • CMS version: Drupal 6.30 or Drupal 7.26 Drush 6.2.0
  • MySQL version: 5.5.35-cll - MySQL Community Server (GPL)
  • PHP version: 5.3.21
Re: Custom fields in events
September 11, 2007, 08:53:55 am
I have had similar wishes for custom fields in event registration with Paypal standard (in Canada this is our only Paypal choice).  I am so happy to hear this will become available in 2.x, Hurray!  Thank you!  Including custom fields in Event reporting would be really nice too.

What I have done as a work around is use the non-custom Paricipants "Participant Note" text field, making the field 'required' and using the "Field Help" area to instruct registrants to include several kinds of data, such as Veg or Standard meal preference and the name of a preferred roommate if so wished.

This information is not included in webpage Event views but is included in the email notification of a successful registration.

lcdweb

  • Forum Godess / God
  • I live on this forum
  • *****
  • Posts: 1620
  • Karma: 116
    • www.lcdservices.biz
  • CiviCRM version: many versions...
  • CMS version: Joomla/Drupal
  • MySQL version: 5.1+
  • PHP version: 5.2+
Re: Custom fields in events
September 11, 2007, 09:29:15 am
For what it's worth, the custom data fields seem to be working fine for me, and I'm using Paypal Standard. I setup a dummy Paypal Pro profile and tested both, but they seem to both work without a problem.

Two things I note about functionality though --

1) When viewing a live front-end reg form, the custom data fields are controlled through a profile page, which is great because I have some custom fields relevant to certain events that are not relevant to others. However, when registering someone for an event in the backend through their contact page, all the custom data fields show up on all events. It seems like this form should also be controlled by profile forms. Having extra fields that are not relevant to the record makes things confusing.

2) Though not custom data field specific -- when someone registers for an event in the frontend form, a corresponding contribution record is generated. But when an admin registers someone through the backend, no contribution record is created. That's problematic as it would be easy to register someone without really processing their payment. Also, it doesn't "connect" the payment with the event as nicely as the automated frontend function does. We receive a number of event registrations via mail, payable by check. It would be very useful for a blank contribution record with pending status be generated when an event is created. That way we can search by delinquent payments (pending), etc.

-Brian
support CiviCRM through 'make it happen' initiatives!
http://civicrm.org/mih

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: Custom fields in events
September 11, 2007, 11:40:02 am

Brian:

1. I'm surprised that custom fields work for you for participant in paypal standard. i'd double check (note that custom fields do work for contact and contribution).

2. The backend data deals more directly with the event table and hence shows all custom forms. Your suggestion of using the "reg" form is interesting, but we also need to give folks access to the other custom fields which they have created, which might not be exposed online. At some point we will have have "pay by check" / "pay later" for the online form, in which case an admin can process payment using the "reg" form directly. I suspect this will also be part of a 2.x release (unless someone in the community steps up and contributes the code / sponsors the development)

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

lcdweb

  • Forum Godess / God
  • I live on this forum
  • *****
  • Posts: 1620
  • Karma: 116
    • www.lcdservices.biz
  • CiviCRM version: many versions...
  • CMS version: Joomla/Drupal
  • MySQL version: 5.1+
  • PHP version: 5.2+
Re: Custom fields in events
September 11, 2007, 12:03:32 pm
I'll double check #1 again, and play with the sandbox on the civicrm site as well, and let you know. But everything seems to be working with it. I just updated my site to the release dated 9/5.

Re: #2 --
It seems you me you have two options using profile pages. You could create a way for admins to have control over what profiles are added to the admin event registration page, that way they can create admin-specific profiles vs. public access profiles. Or, since profiles give you control over the visibility of a field, you can create a profile that contains both public access and admin access fields, and when viewed in a public form it only includes the public access fields (i.e. it seems the functionality already exists).

-Brian
support CiviCRM through 'make it happen' initiatives!
http://civicrm.org/mih

lcdweb

  • Forum Godess / God
  • I live on this forum
  • *****
  • Posts: 1620
  • Karma: 116
    • www.lcdservices.biz
  • CiviCRM version: many versions...
  • CMS version: Joomla/Drupal
  • MySQL version: 5.1+
  • PHP version: 5.2+
Re: Custom fields in events
September 11, 2007, 12:16:13 pm
Just tested it on the sandbox. Works fine for both the admin and public forms:

http://demo.civicrm.org/drupal/civicrm/contact/view/participant?reset=1&cid=104&context=participant&action=add&eid=66&rid=1

http://demo.civicrm.org/drupal/civicrm/event/register?id=66&reset=1&action=preview


So, do I get credit for fixing something?  ;)
I figure it's about the closest I'll get.

-Brian
support CiviCRM through 'make it happen' initiatives!
http://civicrm.org/mih

Pages: [1] 2
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviEvent (Moderator: Yashodha Chaku) »
  • Custom fields in events

This forum was archived on 2017-11-26.