Select Email Addresses from drop down list

K

Karyl

I am using InfoPath 2003 with SP2. I am trying to send a routing form to
several different addresses with the click of one button. Several addresses
will be selected from a drop down list. My thought was to use a drop down
box in a repeating table, however only the first name selected appears on the
email.

Will this idea work? Or am I heading in the wrong direction?
 
S

Shiva, GGK Tech

Hi,

If your drop down is repeating then you have to get that list through code
and add each email address to ‘To’ address field. You are using code for
sending email then use below the code to get email addresses list.

IXMLDOMNodeList emailAddresList = thisXDocument.DOM.selectNodes("Repeating
drop down xpath");

foreach(IXMLDOMNode emailAddress in emailAddresList)
{
to += emailAddress.text;
}
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top