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 CiviMail (Moderator: Piotr Szotkowski) »
  • set addRule 'email‘ to 'emailList'
Pages: [1]

Author Topic: set addRule 'email‘ to 'emailList'  (Read 297 times)

Mich___

  • I post occasionally
  • **
  • Posts: 30
  • Karma: 0
  • CiviCRM version: 4.7.6
  • CMS version: WordPress
  • MySQL version: 5
  • PHP version: 5.4.32
set addRule 'email‘ to 'emailList'
February 08, 2015, 02:16:16 pm

Hi!

In order to have the option to enter several emails in the email forwarding rule, I tried
to change 'email‘ to 'emailList'. Unfortunately this doesn´t work as expected. Any hints to a
working solution? (The form: http://www.gemeingut.org/civi-public/?page=CiviCRM&q=civicrm/mailing/forward&reset=1&jid=598&qid=117585&h=86028d89f48a2d94)
 
Code: [Select]
  $this->addRule("email_$i", ts('Email is not valid.'), 'email‘);
Code: [Select]
  $this->addRule("email_$i", ts('Please enter a valid list of comma delimited email addresses'), 'emailList');

Best regards, M.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMail (Moderator: Piotr Szotkowski) »
  • set addRule 'email‘ to 'emailList'

This forum was archived on 2017-11-26.