hi Rajitha,
Thanks for the quick response.
Could you pls let me know where should i write this piece of code? Should this be written on the click of submit button. As informed earlier, i need to send a infopath form from my office 2007 to some recipients. once they enter the values in the form and click on submit button, the data has ...