This example illustrates how you can get values in a form to another form.
Create a form and insert a TextBox with some default value. We are illustrating how to get this default value in another form.
Save and check in the form. Create a new form and insert an ExternalForm Control inside this form. Configure the ExternalForm control so that it navigates to the form we created previously.
In the new form insert a textbox and a button control. So, on the click of this button control we implement the GetFormValue functionality and get the value from the other form inside the text box.
The Syntax of GetFormValue is,
So write a rule as follows,
Note: GetFormValue is only applicable in WebPart, so add this form to WebPart to get the desired preview.