For something like this, you would use variables to store data on form A - and then load the data from the same variables on form B. Storing data could happen via frontend functions when changing values (eg. execute function on value change) or when using buttons/form actions.
The variables would need to be global (eg. not assigned to a particular form) to be usable on multiple forms.