Jimmy,
I am going to apologize for my newbie question. I have a similar issue to what was posted by this user but could not follow your response. I have been self taught on InfoPath and am not familiar with manipulting code.
I created a form with a repeating section. In the repeating section I have a dropdown list called 'DistributionList'. This dropdown list is populated by a Sharepoint I set up. The "display value" for the dropdown list is the actual name, and the actual 'value' for that drop down list is the corresponding email address. Next to this drop down list, I have a 'send email' button, also inside of the repeating section. The idea is that I can pick 1 name in each repeating section and click the 'send email' button next to the name to send that particular name an email. The issue I am coming up with is when the 'send email' button is selected in whichever section, it will always want to email the name selected in the very first repeating section. So if I pick 'bella' in the first section, 'andrew' in the second repeating section, and click the 'send email' button next to 'andrew', the system will want to send the email to 'bella' instead of 'andrew'.
Can you help? I was trying to manipulate the formula for the data connection but it doesnt work. Beyond working with 'Tools > Data Connections > Submit Data > as an email address> 'To' , I wouldnt know where to start with manipulating code to make it pick the right name, but would like to learn if you dont mind helping.
thank you for your time.
bella