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) »
  • Developer Discussion (Moderator: Donald Lobo) »
  • Removing email from $requiredProfileFields
Pages: [1]

Author Topic: Removing email from $requiredProfileFields  (Read 760 times)

matthewgifford

  • I’m new here
  • *
  • Posts: 2
  • Karma: 0
  • CiviCRM version: 3.4.8
  • CMS version: Drupal
  • MySQL version: 5.1.53
  • PHP version: 5.2.14
Removing email from $requiredProfileFields
February 02, 2012, 04:14:43 pm
In OnBehalfOf.php, I see that organization_name and email are required fields. I've been asked to find out if the email requirement can be removed. Is there a good way to change this without modifying the CiviCRM code? And if I did change it, would it break things? I'm assuming that it would be a catastrophe.

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: Removing email from $requiredProfileFields
February 02, 2012, 05:52:26 pm

i dont think so right now, but might want to follow this development:

http://civicrm.org/blogs/parvez/event-registration-email-address-field-change

and then help port the changes over to the contribution side of things including on-behalf-of profile

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

RobertWalker

  • I’m new here
  • *
  • Posts: 1
  • Karma: 0
  • CiviCRM version: 4.0.0
  • CMS version: 4.0.0
  • MySQL version: 5.5.20
  • PHP version: 5.3.10
Re: Removing email from $requiredProfileFields
February 03, 2012, 12:38:15 am
i tried to removed the email from required field and it works fine for me so far.

robert

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Developer Discussion (Moderator: Donald Lobo) »
  • Removing email from $requiredProfileFields

This forum was archived on 2017-11-26.