alimalik
December 23rd, 2006, 07:41 AM
Can you plz help me out ! is it possible to show
xxxxxx@mail.com,alimalik@mail.com,you@mail.com
instead of
"Name" <xxxxx@mail.com>, "Sue Name" <xxxxxxx@mail.com>
in text area.
What part of code to edit?:confused:
kas
January 8th, 2007, 05:21 PM
Hi alimalik,
Maybe this will help you get started...
On how to get at the names and email addresses in onABCommComplete:
From this thread ... http://forum.plaxo.com/showthread.php?t=2684
You can grab elements of data by doing something similar to (for grabbing the first name and email in the list):
function onABCommComplete(data) {
// called when user completes the widget; data is [[name1, email1], [name2, email2], ...]
if (data) {
var nameAndEmail = data[0];
if (nameAndEmail.length > 0) {
setValue('txtNameRecip', nameAndEmail[0]);
setValue('txtEmailRecip', nameAndEmail[1]);
} else alert('no namesAndEmails[0]');
} else alert('no data');
}
//--></script>
and then build your list with just the email addresses....
Kathy
vBulletin® v3.8.1, Copyright ©2000-2009, Jelsoft Enterprises Ltd.