Newbie Help - InfoPath Dev Sign in | Join | Help in Newbie Questions InfoPath (Entire Site) InfoPath Dev InfoPath Dev is dedicated to bringing you the information and tools you need to be successful in your Microsoft Office InfoPath development projects. Home Blogs Forums Photos Downloads InfoPath Dev » InfoPath » Newbie Questions » Newbie Help Newbie Help Last post 07-23-2008 09:22 AM by ksimons. 5 replies. Page 1 of 1 (6 items) Sort Posts: Oldest to newest Newest to oldest Previous Next 06-24-2008 10:54 AM ksimons Joined on 06-24-2008 Posts 6 Newbie Help Reply Contact Hi. I am new to Infopath. How do I change the email address on a submit button to submit the form to a comapny address? Also how do I add a download button to download a form to another users computer? 06-25-2008 06:41 AM In reply to Shiva Joined on 04-15-2005 India Posts 694 Re: Newbie Help Mark as Not AnswerMark as Answer... Reply Contact Hi Welcome to the Forums,Yes you can set to address value using below the code:var EmailAdapter = XDocument.DataAdapters["Email"];EmailAdapter.To = "mailId";EmailAdapter.Submit(); While taking the email adapter connection you have to check ‘Attach the form template to ensure that users can open the form’ check box value then this form is goes to the recipient with attachment. Shiva / http://www.ggktech.com 06-26-2008 09:49 AM In reply to ksimons Joined on 06-24-2008 Posts 6 Re: Newbie Help Mark as Not AnswerMark as Answer... Reply Contact Thank you for the code but where do I go the attach the form template? 07-23-2008 07:43 AM In reply to ksimons Joined on 06-24-2008 Posts 6 Re: Newbie Help Mark as Not AnswerMark as Answer... Reply Contact When I use this code I get the following error: "EmailAdapter' is null or not an object. What do I need to do to get this to work? 07-23-2008 08:05 AM In reply to Anuma Joined on 07-20-2005 India Posts 525 Re: Newbie Help Mark as Not AnswerMark as Answer... Reply Contact Hi, Did you added the email data connection for "Email". Anuma Chinthapalli /http://www.GGKTech.com 07-23-2008 09:22 AM In reply to ksimons Joined on 06-24-2008 Posts 6 Re: Newbie Help Mark as Not AnswerMark as Answer... Reply Contact I added the email address in the data connection however I still received the error message? Page 1 of 1 (6 items) Copyright © 2003-2019 Qdabra Software. All rights reserved.View our Terms of Use.
Hi. I am new to Infopath. How do I change the email address on a submit button to submit the form to a comapny address? Also how do I add a download button to download a form to another users computer?
Thank you for the code but where do I go the attach the form template?
When I use this code I get the following error: "EmailAdapter' is null or not an object.
What do I need to do to get this to work?
Hi,
Did you added the email data connection for "Email".
I added the email address in the data connection however I still received the error message?