Answers.Body: <p>From UI perspective, it is not currently possible to include an email in the select box. Some code changes need to be done.</p>
  
  <p>I was just skimming the code of <code>Common.js</code> file <a href="https://github.com/civicrm/civicrm-core/blob/master/js/Common.js#L444-L464" rel="nofollow">where this functionality seems to be handled</a>.</p>
  
  <p>I guess the <code>formatSelection</code> function is the one which returns to what is seen after the selection of the contacts from the dropdown. You can make a change here to include the email to be concatenated to the name. Something like:</p>
  
  <pre><code>var email = (row.extra.email !== '' ? ' - ' + row.extra.email + ' ' : '');
  </code></pre>
  
  <p>and then add this to the label.</p>
  
  <p>Well, modification in this file may not be recommended  as changes done here are too core and may affect some other functionality elsewhere. This file is called in almost all the pages of CiviCRM and hence this change would affect all the dropdown present in it.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-12-07T09:23:27.513Z
Answers.LastActivityDate: 2015-12-07T10:28:26.827Z
Answers.LastEditDate: 2015-12-07T10:28:26.827Z
Answers.UserDisplayName: jitendra - fuzion
Answers.Body: <p>I was looking at the demo and noticed matching contacts show with their emails, is that not sufficient?</p>
  
  <p><a href="https://i.sstatic.net/pOAb5.jpg" rel="nofollow noreferrer"><img src="https://i.sstatic.net/pOAb5.jpg" alt="enter image description here"></a></p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-11-23T21:16:39.787Z
Answers.Text: It is not, no, they would very much like to be able to see it in the form itself after they've selected the contact in question.
Answers.UserDisplayName: Lesley Carter - BackOffice
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-11-23T21:05:51.617Z
Answers.LastActivityDate: 2015-11-23T21:05:51.617Z
Answers.UserDisplayName: Sanjay Jain
Answers.Body: <p>It looks like that particilair feature on contribution batch entry paged disappeared. And it looks like there is no option for changing the display of the selected contact in a contact reference field. You are not the only one who finds this a pity. </p>
  
  <p>I do think it would be really wonderful if we could configure the contact reference a bit more. We could enable/disable the e-mail field for looking up but it would be also wonderful if we could show it.</p>
  
  <p>What you could do then is to develop this feature yourself or find and fund a developer to do so.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-12-02T21:29:33.260Z
Answers.LastActivityDate: 2015-12-02T21:29:33.260Z
Answers.UserDisplayName: Jaap Jansma - CiviCooP
Body: <p>In 4.3.x and 4.4.x, it was possible to see the name and email of the donor when entering a contribution: <a href="http://screencast.com/t/vH0CG33LDPU" rel="nofollow">http://screencast.com/t/vH0CG33LDPU</a></p>
  
  <p>In 4.6.x, only the name is now displayed: <a href="http://screencast.com/t/65HG1fBZ7ZH" rel="nofollow">http://screencast.com/t/65HG1fBZ7ZH</a>  </p>
  
  <p>For some of our clients, this is extremely problematic because they either need to see whether a particular donor has an email address in the system (so they can exclude them from the email receipt) or because they have multiple contacts with similar names in Civi and use the email address to distinguish among them.  My developer colleague tells me this change was made in core.  My question is, is there a straightforward way to change what is displayed in the contact name field or will it be necessary to resort to code changes?</p>
  
  <p>Thanks,
  Lesley</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2015-12-03T09:37:42.213Z
Comments.Text: Hmm, we had something similar about entering target contacts on an activity recently. (We're on 4.4.20.) We wanted to show the email to disambiguate contacts with the same name. I had a solution, but I'm not sure if it goes for 4.6 or the type of select box you're looking at.
Comments.UserDisplayName: DaveFF
Tags: <civicontribute>
Title: Changes in display of batch data entry form in 4.6.x
ThreadText: # Changes in display of batch data entry form in 4.6.x
  
  (Asked by: username_0 on 2015-11-23)
  
  In 4.3.x and 4.4.x, it was possible to see the name and email of the donor when entering a contribution: <http://screencast.com/t/vH0CG33LDPU>
  
  In 4.6.x, only the name is now displayed: <http://screencast.com/t/65HG1fBZ7ZH>
  
  For some of our clients, this is extremely problematic because they either need to see whether a particular donor has an email address in the system (so they can exclude them from the email receipt) or because they have multiple contacts with similar names in Civi and use the email address to distinguish among them. My developer colleague tells me this change was made in core. My question is, is there a straightforward way to change what is displayed in the contact name field or will it be necessary to resort to code changes?
  
  Thanks,
  username_0
  
  **Tags:** civicontribute
  
  > **Comments:**
  > **username_1**: Hmm, we had something similar about entering target contacts on an activity recently. (We're on 4.4.20.) We wanted to show the email to disambiguate contacts with the same name. I had a solution, but I'm not sure if it goes for 4.6 or the type of select box you're looking at.  
  
  ---
  
  ## 3 answers
  
  ### Answer by username_2 on 2015-12-07. Score: 1
  
  From UI perspective, it is not currently possible to include an email in the select box. Some code changes need to be done.
  
  I was just skimming the code of `Common.js` file [where this functionality seems to be handled](https://github.com/civicrm/civicrm-core/blob/master/js/Common.js#L444-L464).
  
  I guess the `formatSelection` function is the one which returns to what is seen after the selection of the contacts from the dropdown. You can make a change here to include the email to be concatenated to the name. Something like:
  
  ```
  var email = (row.extra.email !== '' ? ' - ' + row.extra.email + ' ' : '');
  
  ```
  
  and then add this to the label.
  
  Well, modification in this file may not be recommended as changes done here are too core and may affect some other functionality elsewhere. This file is called in almost all the pages of CiviCRM and hence this change would affect all the dropdown present in it.
  
  
  ---
  
  ### Answer by username_3 on 2015-11-23. Score: 0
  
  I was looking at the demo and noticed matching contacts show with their emails, is that not sufficient?
  
  [![enter image description here](https://i.sstatic.net/pOAb5.jpg)](https://i.sstatic.net/pOAb5.jpg)
  
  > **Comments:**
  > **username_0**: It is not, no, they would very much like to be able to see it in the form itself after they've selected the contact in question.  
  
  ---
  
  ### Answer by username_4 on 2015-12-02. Score: 0
  
  It looks like that particilair feature on contribution batch entry paged disappeared. And it looks like there is no option for changing the display of the selected contact in a contact reference field. You are not the only one who finds this a pity.
  
  I do think it would be really wonderful if we could configure the contact reference a bit more. We could enable/disable the e-mail field for looking up but it would be also wonderful if we could show it.
  
  What you could do then is to develop this feature yourself or find and fund a developer to do so.
  
  
  ---
  
  