You can use the Forms checkbox element to hide other elements on the page if the box is checked. This is very useful if you want a checkbox for Billing and Shipping is the same, or if you want to hide a payment option if a different one is chosen
Billing and shipping address are the same
If the designated form-checkbox is selected it will hide the Shipping Address unless the box is deselected.
Place a Form-checkbox onto the page. Normally this is placed between the Shipping and Billing Info.
Select the checkbox and open the element’s Settings. Set “Name” to billShipSame
Next, locate the form that you want to be hidden if the form-checkbox is selected. This form will have a random ID assigned, but changing to something more familiar is helpful. In the example below, the Id of the Billing Address form was adjusted to be billingAddress
Now that you have identified the form to be hidden, select the form-checkbox once more, open the settings, and set the Open Id value to be the Id of your to-be-hidden form.
Hide Credit Card field with PayPal option
If the designated form-checkbox is selected it will hide the Credit Card payment fields.
Follow same steps as above, but locate form containing the payment information and use this as the Open Id value.