I am using Infopath 2010
I have multiple hyperlinks 'Test1', 'Test2', 'Test3' but I will be redirecting to the same page 'Test.aspx' on click of these links. I have an infopath form embedded inthe page Test.aspx. So I need to write a logic based on the hyperlink which I have clicked.
Suppose I click on 'Test1' I want it to redirect to 'Test.aspx' and add a query string parameter '?hyperlink=Test1' in infopath form code behind. I will be reading this parameter and write the logic accordingly.
Can any help how to add this query string string parameter in infopath form codebehind?
I can't make any changes in aspx, so kindly refrain from giving suggestion where aspx changes are required.