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) »
  • postal greeting option values - duplicates
Pages: [1]

Author Topic: postal greeting option values - duplicates  (Read 853 times)

lcdweb

  • Forum Godess / God
  • I live on this forum
  • *****
  • Posts: 1620
  • Karma: 116
    • www.lcdservices.biz
  • CiviCRM version: many versions...
  • CMS version: Joomla/Drupal
  • MySQL version: 5.1+
  • PHP version: 5.2+
postal greeting option values - duplicates
September 06, 2010, 08:19:21 pm
ran into a little issue with postal greetings --
it won't let you define two options with the same label -- even if they are for different contact types.

in our case I need to create Dear {contact.nick_name} for both indivs and households.

I think we either need to remove that validation rule or allow the multi-selection of contact types

(confirmed on sandbox)
support CiviCRM through 'make it happen' initiatives!
http://civicrm.org/mih

Yashodha Chaku

  • Forum Godess / God
  • Ask me questions
  • *****
  • Posts: 755
  • Karma: 57
    • CiviCRM
Re: postal greeting option values - duplicates
September 07, 2010, 05:36:39 am
Brian :
Good catch. Wanna file an issue with JIRA. A patch to improve validations would be great :)

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

lcdweb

  • Forum Godess / God
  • I live on this forum
  • *****
  • Posts: 1620
  • Karma: 116
    • www.lcdservices.biz
  • CiviCRM version: many versions...
  • CMS version: Joomla/Drupal
  • MySQL version: 5.1+
  • PHP version: 5.2+
Re: postal greeting option values - duplicates
September 07, 2010, 05:57:26 am
sure: http://issues.civicrm.org/jira/browse/CRM-6786

looks like we could add some additional logic to:
CRM/Admin/Form/OptionValue.php
that checks whether there's also a match on $fields['contactOptions'] in the case of the greeting options before triggering the validation rule. i'll play with it.
support CiviCRM through 'make it happen' initiatives!
http://civicrm.org/mih

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • postal greeting option values - duplicates

This forum was archived on 2017-11-26.