(Each project requires you to login separately)

formicula

Ticket #25 (new enhancement)

Opened 13 months ago

Last modified 13 months ago

Multiple email addresses in a contact.

Reported by: bommel Owned by:
Priority: major Milestone: not yet defined
Version: 2.1 Severity: blocker
Keywords: Cc:

Description

Multiple email addresses in a contact.

The answer to this problem:
Created by t_smiatek

1. Replace in formicula/pnincludes/for_admin_edithandler.class.php the Code in line 69-73 with:

if(empty($data['email'])) {
    $ifield = & $pnRender->pnFormGetPluginById('email');
    $ifield->setError(DataUtil::formatForDisplay(_FOR_ERROREMAIL));
    $ok = false;
}
if(!empty($data['email'])) {
    $aMail = (explode(",",$data['email']));
    for($i=0;$i<count($aMail);$i++) {
        if (!pnVarValidate($aMail[$i], 'email')) {
            $ifield = & $pnRender->pnFormGetPluginById('email');
            $ifield->setError(DataUtil::formatForDisplay(_FOR_ERROREMAIL));
            $ok = false;
            break;
        }
    }
}

2. Change the value in formicula/pntemplates/formicula_admin_edit.html at line 20 maxLength="40" to a higer value.

After this change, you can write several mail addresses in the e-mail field of the contact. Please write in form mail1@…,mail2@…

Change History

Changed 13 months ago by Landseer

  • milestone changed from 2.2 to not yet defined
Note: See TracTickets for help on using tickets.
 
 
Powered by Trac
Design by Arcsin