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) »
  • Cannot add or update profile field type
Pages: [1]

Author Topic: Cannot add or update profile field type  (Read 1230 times)

zoomlanski

  • I’m new here
  • *
  • Posts: 10
  • Karma: 0
    • Paramedic Competition
Cannot add or update profile field type
December 06, 2010, 11:11:05 pm
Greetings Again

I am working on developing a team registration profile. There are 4 persons to a team, competitor #1, competitor #2, judge #1, judge #2. Each person has been added as a "contact type" and each person is an  "individual". [Question: why can we only get contact type from the configuation menu?]

Working on the basis that I want to provide online registration for A TEAM and not the 4 individual persons, I am creating a CiviCRM Profile called "Team Profile"

Also, working on the basis that there will be one profile (Team Profile) with fields for all these individuals.

While I have created the First and Last name Fields of Competitor #1, when I attemp to create Competitor #2, Judge #1, Judge #2 First and Last names fields, it provides the following

Please correct the following errors in the form fields below:
    * Cannot add or update profile field type "Judge__1" with combination of "Competitor__1".


A google search didn't reveal any answers.

Does it have to do with the spacing's between ___1?

Thanks
Tim


Yashodha Chaku

  • Forum Godess / God
  • Ask me questions
  • *****
  • Posts: 755
  • Karma: 57
    • CiviCRM
Re: Cannot add or update profile field type
December 23, 2010, 03:24:48 am
zoomlanski :
Quote
Does it have to do with the spacing's between ___1?

Nope. This is simply because you are trying to create a profile with mixed contact subtypes (in this case judge and competitor) which we is not allowed by CiviCRM. Why don't you create pure profiles (by that I mean one with just judge fields & the other one with just competitor fields ) and the use the Register multiple participants? feature for Online Registration of events.

Further to group all the participants you can create a new group Team and then set 'Add new contacts to a Group?' to Team for both of the above profiles (this option shows up in Advanced Pane in Profile Settings).

Hope this helps!
Yashodha
Found this reply helpful? Contribute NOW and help us improve CiviCRM with the Make it Happen! initiative.

Jadan

  • I’m new here
  • *
  • Posts: 6
  • Karma: 0
Re: Cannot add or update profile field type
January 17, 2011, 07:10:54 am
I just ran into this issue myself. It seems like it could either be mentioned as help text when creating profiles or, even better, just making it so that when you create a profile you create it specific type of profile that automatically prevents you from adding fields from the wrong contact subtype.

Or perhaps I'm missing something here for why that wouldn't work.

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: Cannot add or update profile field type
January 17, 2011, 04:50:57 pm

hey jadan:

would be great if you can file a patch for both of your suggestions:

1. Improve the help text so its a bit more clear for folks

2. Incorporate this rule in the codebase.

We'd be happy to help you get started on IRC

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) »
  • Cannot add or update profile field type

This forum was archived on 2017-11-26.