Passing a Text Variable in a Hyperlink to a Form - InfoPath Dev
in

InfoPath Dev

Passing a Text Variable in a Hyperlink to a Form

Last post 04-16-2014 11:47 AM by Michael Vasquez. 0 replies.
Page 1 of 1 (1 items)
Sort Posts: Previous Next
  • 04-16-2014 11:47 AM

    Passing a Text Variable in a Hyperlink to a Form

    Using 2010 version of SharePoint and InfoPath.

    I have created an InfoPath form using SharePoint and I have a hyperlink with a textbox variable called ClassName and I want to pass the variable to another InfoPath form.  Part of the hyperlink is, ...

    Registration.xsn&ClassName={@Name_x0020_of_ x0020_Event}&StartDate={@Start_x0020_Date_x002 0__x002a_}&StopDate={@Stop_x0020_Date} ...  When a user clicks on the hyperlink, the other form does open; however, the classname is not listed.  On my FormEvents_loading, I have the following:

    string className = e.InputParameters["ClassName"];

    When I created another field to see what the output of e.InputParameters["ClassName"], the output was {@Name_x0020_of_ x0020_Event}.

    This did work in InfoPath 2007 but it seems they changed the syntax in 2010.  I have searched everywhere for the solution and have been unsuccessfull.  Does anyone  have a possible solution to my problem?

     TIA

    Mike V

Page 1 of 1 (1 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.