<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.infopathdev.com:443/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Code</title><link>https://www.infopathdev.com:443/forums/45.aspx</link><description /><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Passing parameters to an InfoPath 2007 form</title><link>https://www.infopathdev.com:443/forums/thread/88907.aspx</link><pubDate>Sat, 13 Apr 2013 14:40:53 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:88907</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/88907.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=88907</wfw:commentRss><description>&lt;p&gt;I think if you are using VBScript, you will be using InfoPath 2003 compatible forms - so my guess would be that Input Parameters aren&amp;#39;t available. What version of IP are you using? Can you use managed code instead?&lt;/p&gt;</description></item><item><title>Passing parameters to an InfoPath 2007 form</title><link>https://www.infopathdev.com:443/forums/thread/88902.aspx</link><pubDate>Fri, 12 Apr 2013 20:51:21 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:88902</guid><dc:creator>littleriver</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/88902.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=88902</wfw:commentRss><description>&lt;p&gt;I&amp;#39;ve seen lots of forum posts about this, but it&amp;#39;s not clear if this functionality is available using VBScript.&amp;nbsp;I want to pass a parameter to a form in the URL. This is what I am trying based on some code examples I found.&lt;/p&gt;&lt;p&gt;&amp;nbsp;my URL is &lt;a href="http://team.usaa.com/sites/externalaffairs/eaops/Initialize/Forms/template.xsn?ListID=4"&gt;http://team.usaa.com/sites/externalaffairs/eaops/Initialize/Forms/template.xsn?ListID=4&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;my name:value pair is ListID = 4&lt;/p&gt;&lt;p&gt;&amp;nbsp;In my OnLoad event, I tried this code, hoping I could interpret the parameter and write the value to a text field named MyFormID:&lt;/p&gt;&lt;p&gt;&lt;strong&gt;strListID = XDocument.InputParameters[&amp;quot;ListID&amp;quot;].value&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;XDocument.DOM.selectSingleNode(&amp;quot;//my:MyFormID&amp;quot;).text = strListID&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;I&amp;nbsp;am starting to think that the InputParameters object is not available in VBScript. Can anyone help with this?&lt;/p&gt;&lt;p&gt;Thanks!&lt;/p&gt;</description></item></channel></rss>