1) It is not possible to pass variables from within a branch to the Form Output. The only detects variables not contained in branches.
2) Steps that follow branches but are not enclosed within them do not detect variables created within those branches.