How to show/hide fields in Form B based on value selected in Form A

How to show/hide fields in Form B based on value selected in Form A

Hi,

Say I have a multi-form app. The user will start at Form A and when he/she clicks submit is redirected to Form B.

I am trying to show/hide fields in Form B based on a value selected in Form A. 

For example, if it were a Deluge script, it would be something like this:

Form B's on load:

if ([variable from form A] == "true")
{
      hide Variable1;
}

Is this possible? 

Thanks,

Isaac