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 Field input areas do not show in event sign-up form
Pages: [1]

Author Topic: Custom Field input areas do not show in event sign-up form  (Read 3448 times)

iteachnet.org

  • Guest
Custom Field input areas do not show in event sign-up form
June 22, 2007, 09:31:06 am
Hi, I'm using drupal 5 and civicrm.

I think I must be using the custom fields wrong.

* I create a custom field group for the type of event I need.
*Then, I create the fields which I want event participants to fill in.  I make none of them required.
* Then I create the event.
* When I go to view (test) it, the questions show up, but _no_ input areas, drop-down menus or other means of putting in information.

Am I using custom fields wrong?

Please help? I've been at this for weeks.


Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Custom Field input areas do not show in event sign-up form
June 22, 2007, 03:50:38 pm
When you create the custom data "group" - you must select "Used For" = "Participant" if you are creating custom fields for folks who sign up for events to fill in.

(Selecting "Used For" = "Event" allows you to input addtional information about the EVENT, not the people who are PARTICIPATING in the event.)

Sorry for any confusion or frustration on this. If you see improvements we can make on the screens to help clarify, please let us know.
Protect your investment in CiviCRM by  becoming a Member!

iteachnet.org

  • Guest
Re: Custom Field input areas do not show in event sign-up form
June 24, 2007, 12:19:47 am
Thank you for telling me that the custom field group needs to be for the participants.

I have now done that and recreated an event.

Unfortunately, now, the custom fields do not show at all.  There's a mismatch somewhere.

I also get this error (but I got it before): warning: Invalid argument supplied for foreach() in /home/www/vipassanahawaii.org/drupal5/sites/all/modules/civicrm/CRM/Event/Form/Registration/Register.php on line 98.

To summarize, I have
*created a custom group for participants (in my case ... for participants ... type: retreat participants
*created fields within that group
*created an event of the type needed.
(I did not require any fields.)
*Tested / viewed event ... no fields.

In fact, previously, custom fields showed up in the creation of the event.  Now they don't.

I will try again from scratch.

David

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 Field input areas do not show in event sign-up form
June 24, 2007, 08:28:59 am

David:

Are you doing this as anonymous or an authenticated user and it does not show up? If so, make sure you have set the drupal permission of "access all custom data" in the drupal administer screen (q=admin/user/access)

The below error message is now fixed for 1.8 :)

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

devrgould

  • Guest
Re: Custom Field input areas do not show in event sign-up form
June 24, 2007, 09:52:46 am
Hi iteachnet.org

By chance I have also created an "Retreat Participant" custom group and had it work up to a point.  In my case with Paypal Standard, custom groups don't work and won't work until a future release.  (www.lamponthepath.org)

So you will have to use Paypal Pro or a non paypal credit card gateway.  Being in the U.S. you have this option.  In Canada (and elswhere) Paypal Standard is the only form made available by Paypal.

iteachnet.org

  • Guest
Re: Custom Field input areas do not show in event sign-up form
June 26, 2007, 07:25:09 pm
Dear All,

Thank you for your suggestions and comments.

* I was not an anonymous user, but will check whether access custom content is enabled.
* I will upgrade to 1.8 to get rid of the error message.
* I will look into the paypal upgrade.  The non-profit I am working for is, as you said, US-based, so maybe that will help.

I will try the whole thing over after the upgrade.

Thank you again.

David

iteachnet.org

  • Guest
Re: Custom Field input areas do not show in event sign-up form
June 30, 2007, 12:17:27 am
I didn't realize that 1.8 is not yet available.  Hmmm.  Friend of mine found this: http://www.codeforchange.net/downloads 

I wonder if this isn't a red herring.

Perhaps I should stick with the one I've got and fool with paypal?

David

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 Field input areas do not show in event sign-up form
June 30, 2007, 07:59:29 am

The code for change releases (a project that we are aware of AND actively working with) are more for testing some features that Wes and group are working on. Specifically the standalone version / openid integration etc. Those release are NOT meant to test 1.8 features :)

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

iteachnet.org

  • Guest
Re: Custom Field input areas do not show in event sign-up form
July 01, 2007, 06:26:09 am
Dear All,

Ok. So, I have confirmed for myself that

a) whether I create a custom fields group (and fields within it) for 1. events or 2. for participants --> retreat participants, the fields show up in the resulting form not as input fields, but as the name of the fields.  See screenshot here:
http://iteachnet.org/~david/download/eventregistrationpage1TEST.png

b) the error message persists and no upgrade to 1.8 is yet available, but this is minor in comparison to point a since we can hope that there will be a 1.8.

Aside: The strange thing is that during the creation of the event, the first page shows the custom fields I have created for that type of event.  But on a subsequent page in the process of creating the event (after I say I want an online registration page), it has a place to choose a custom event from a menu.  I suppose this really means choose a profile?


Has anyone successfully used custom fields?  Really?

David

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 Field input areas do not show in event sign-up form
July 01, 2007, 08:48:45 am

Can u please reproduce the below on http://demo.civicrm.org/drupal/ and let us know what you did and the behavior you expect

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

iteachnet.org

  • Guest
Re: Custom Field input areas do not show in event sign-up form
July 03, 2007, 11:59:42 pm
For this particular event sign up, I think I owe everyone an apology.

Although I do not yet have a working form, I did get custom fields to work for logged in users.

Here's how:

* create custom event type (if necessary)
* create custom participant type (if necessary)
* create custom group for participants
* create fields in that group
* create a profile using each of the fields.
* create the event.

Before I was trying to do it without a profile.  Many apologies.

The form still doesn't work
*(for some reason you have to be logged in to see the custom fields when signing up even though I've been over access control many times and made the event public)
*(and I have to get it to work with paypal still which may require paypal pro according to at least one of you)

But I'm further along.

Thank you for your help.

David

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Custom Field input areas do not show in event sign-up form
July 04, 2007, 03:51:14 am
Quote from: Donald Lobo on June 24, 2007, 08:28:59 am

David:

Are you doing this as anonymous or an authenticated user and it does not show up? If so, make sure you have set the drupal permission of "access all custom data" in the drupal administer screen (q=admin/user/access)

The below error message is now fixed for 1.8 :)

lobo

This should solve your problem. If not replicate it on http://demo.civicrm.org and file the issue in bug tracker.
Found this reply helpful? Support CiviCRM

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviEvent (Moderator: Yashodha Chaku) »
  • Custom Field input areas do not show in event sign-up form

This forum was archived on 2017-11-26.