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 Profiles (Moderator: Dave Greenberg) »
  • Bug: profile form doesn't match contact edit form
Pages: [1]

Author Topic: Bug: profile form doesn't match contact edit form  (Read 1185 times)

ThePayIsLousy

  • Guest
Bug: profile form doesn't match contact edit form
August 25, 2009, 06:59:05 am
Just want to make sure this isn't a known bug before I report it (didn't see it on the bug list as open, and it's not closed in 2.2.9).

I'm using 2.2.8.

My profile forms work perfectly.

When I use CiviCRM >> Find Contacts to select a user and choose Edit, all
three profile forms are listed.

But: one of the forms doesn't display as it does when accessed directly by
the user.  It appears that the weight value is ignored, and the fields are
displayed in the order they were added.  [With one exception -- perhaps it
has something to do w/ db slack space?  When I view the profile form schema
using phpMyAdmin, though, the fields are displayed in the exact order they were
created.]

Anyway, that's just annoying -- no big deal.

Bigger problem: a field that is not required on the profile form *is*
required on the Find Contacts edit form.
  And, it's enforced -- I have
to enter a (nonsensical) value before I can Save.

The other two forms work fine (and are ordered properly b/c I got them
right the first time and didn't have to mess w/ the weights).

Thanks!

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: Bug: profile form doesn't match contact edit form
August 25, 2009, 10:43:59 am

hey mike:

seems you have profiles and custom groups mixed up

profiles = standard fields + custom fields

in the search >> edit form we should custom groups and not profiles. The order and required is determined by their custom group entry

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

ThePayIsLousy

  • Guest
Re: Bug: profile form doesn't match contact edit form
August 25, 2009, 11:45:21 am
Thanks, lobo -- I definitely missed that! 

OK, I think I get it now.  Is this right?  I'll add it to my http://wiki.civicrm.org/confluence/display/CRMDOC/Drupal+installation+and+configuration+example doc:



Custom data fields: fields used to store info not covered by CiviCRM's standard fields.  The weights, required, etc., settings will control display of the fields in the CiviCRM >> Find contacts view/edit screens.

Profiles: standalone forms that can be used to expose <<<correct CiviCRM terminology???>>> fields to users for direct data entry (add, edit, view).  Profiles can use both standard and custom data fields.  The weights, required, etc., settings will control display of the fields on the form.  These values can be totally different from the ones specified under "Custom data" used to control the view/edit screens under CiviCRM >> Find contacts.

For my purposes, I want the field layout to be identical so that my organization's administrators will see the same screen that our users see.  <<<Is there an example when it would be desirable to have them be different???>>>

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: Bug: profile form doesn't match contact edit form
August 25, 2009, 12:20:46 pm

in many a case profiles use custom fields from different custom groups. hence the order of the fields in the custom group is not directly related to the order of the fields in the profile in these cases

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

ThePayIsLousy

  • Guest
Re: Bug: profile form doesn't match contact edit form
August 25, 2009, 01:19:00 pm
Excellent.  Added your note, made a few tweaks, and my wiki page is improved.  Perhaps fewer newbie questions on this topic in your future!   :)

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Profiles (Moderator: Dave Greenberg) »
  • Bug: profile form doesn't match contact edit form

This forum was archived on 2017-11-26.