Use global variables
To display a variable in a form or application header, create a custom input field and connect the field to the variable through the field Variable binding. You can find this when you click on the edit icon for the custom input field.
If you use variables as input to a link, you must select source variable and the correct source field when you configure your local variable.