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 Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Disable required field
Pages: [1]

Author Topic: Disable required field  (Read 1231 times)

Conte01

  • I post occasionally
  • **
  • Posts: 79
  • Karma: -1
  • www.aidboard.com
    • Aidboard
  • CiviCRM version: latest
  • CMS version: Drupal
Disable required field
January 12, 2011, 12:36:03 am
Hello,

Following problem: For some of your "clients" we only know the last name and often no Email adress.

At the moment I have to enter a first and last name or an email adress. How can I set up CiviCRM to allow me to enter individuals where I only know the last name?

Thanks
Conte
http://www.aidboard.com

Erik Hommel

  • Forum Godess / God
  • I live on this forum
  • *****
  • Posts: 1773
  • Karma: 59
    • EE-atWork
  • CiviCRM version: all sorts
  • CMS version: Drupal
  • MySQL version: Ubuntu's latest LTS version
  • PHP version: Ubuntu's latest LTS version
Re: Disable required field
January 12, 2011, 02:51:13 am
I know it is a workaround, but can you not just add some value as a first name? And add these to a special group so you can recognize them easily? Initial reaction is that this might be easier than changing the validation process?
Erik
Consultant/project manager at EEatWork and CiviCooP (http://www.civicoop.org/)

Conte01

  • I post occasionally
  • **
  • Posts: 79
  • Karma: -1
  • www.aidboard.com
    • Aidboard
  • CiviCRM version: latest
  • CMS version: Drupal
Re: Disable required field
January 12, 2011, 02:58:20 am
Hi,

Of Course this is possible, but its a very unclean solution.

I would really like to change the rules there. I think many others got this issue to, since you just do not know every clients first name.

Thanks anyway
Conte
http://www.aidboard.com

Erik Hommel

  • Forum Godess / God
  • I live on this forum
  • *****
  • Posts: 1773
  • Karma: 59
    • EE-atWork
  • CiviCRM version: all sorts
  • CMS version: Drupal
  • MySQL version: Ubuntu's latest LTS version
  • PHP version: Ubuntu's latest LTS version
Re: Disable required field
January 12, 2011, 03:04:07 am
I am not totally clear what you are after, do you want to change the rules yourself for your specific installation and have the PHP expertise to do so? Or are you suggesting a change to the core CiviCRM?
Erik
Consultant/project manager at EEatWork and CiviCooP (http://www.civicoop.org/)

Conte01

  • I post occasionally
  • **
  • Posts: 79
  • Karma: -1
  • www.aidboard.com
    • Aidboard
  • CiviCRM version: latest
  • CMS version: Drupal
Re: Disable required field
January 12, 2011, 03:06:28 am
Quote from: Erik Hommel on January 12, 2011, 03:04:07 am
I am not totally clear what you are after, do you want to change the rules yourself for your specific installation and have the PHP expertise to do so? Or are you suggesting a change to the core CiviCRM?
Erik

I have no idea :)

I just want the rule to be "only last name is a required field"

How to get there? I do not care :)

Thanks
Conte
http://www.aidboard.com

Erik Hommel

  • Forum Godess / God
  • I live on this forum
  • *****
  • Posts: 1773
  • Karma: 59
    • EE-atWork
  • CiviCRM version: all sorts
  • CMS version: Drupal
  • MySQL version: Ubuntu's latest LTS version
  • PHP version: Ubuntu's latest LTS version
Re: Disable required field
January 12, 2011, 03:10:46 am
It is not that simple :-) As far as I know it is not simply a configuration option or clicking a rule, you will have to change programming code to do that. That is fine if you have PHP skills, I can you show you where you need to change. If you have no PHP skills, I would recommend you hire someone who can help you with that? Or take the 'unclean' workaround?
Erik
Consultant/project manager at EEatWork and CiviCooP (http://www.civicoop.org/)

Conte01

  • I post occasionally
  • **
  • Posts: 79
  • Karma: -1
  • www.aidboard.com
    • Aidboard
  • CiviCRM version: latest
  • CMS version: Drupal
Re: Disable required field
January 12, 2011, 03:36:40 am
Quote from: Erik Hommel on January 12, 2011, 03:10:46 am
It is not that simple :-) As far as I know it is not simply a configuration option or clicking a rule, you will have to change programming code to do that. That is fine if you have PHP skills, I can you show you where you need to change. If you have no PHP skills, I would recommend you hire someone who can help you with that? Or take the 'unclean' workaround?
Erik

I have little programming skills. With a good walk-through I could do these changes. Would be nice if you could post the steps.

thanks
Conte
http://www.aidboard.com

Erik Hommel

  • Forum Godess / God
  • I live on this forum
  • *****
  • Posts: 1773
  • Karma: 59
    • EE-atWork
  • CiviCRM version: all sorts
  • CMS version: Drupal
  • MySQL version: Ubuntu's latest LTS version
  • PHP version: Ubuntu's latest LTS version
Re: Disable required field
January 12, 2011, 03:52:08 am
I do not think it is something that I can just walk you through, it is not a change I have readily available to walk you through or simply post the steps, I would certainly post them if I have them :-) I would have to investigate first what the implications are, would take me a number of hours to do that? Also, I do not think it is a change that you want to do and test with just a little programming skill. I really think you would need to hire someone to do it, or alternatively invest time in getting the required skills? You can find initial info on extending/customizing CiviCRM here:
http://en.flossmanuals.net/CiviCRM/DevelopIntro
Or you can follow the upcoming training in Brussels?
Consultant/project manager at EEatWork and CiviCooP (http://www.civicoop.org/)

Conte01

  • I post occasionally
  • **
  • Posts: 79
  • Karma: -1
  • www.aidboard.com
    • Aidboard
  • CiviCRM version: latest
  • CMS version: Drupal
Re: Disable required field
January 18, 2011, 03:20:44 am
Hey,

Thanks for the answer and the help.

Has anyone else had the same problem and found a solution?

Thanks,
Conte
http://www.aidboard.com

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Disable required field

This forum was archived on 2017-11-26.