Conditional form fields (referral campaign)

Your software
My Mautic version is: 3.3.3
My PHP version is: 7.4.16
My Database type and version is: mysql

Your problem
My problem is:

Hello community,
It’s a bit complicated to explain and please bear with me because I’m quite a newbie :wink:
I have installed the referrals plugin from Simcen and trying to build a referral form.

We have two different sets of customers (customers A and B) and would like people who fill in the form to create either customer A or B referrals. These referrals (potential customers) would then get a specific email (A or B email)

At the moment we have 2 referral fields with each a number of email inputs that each tag the referral to A or B.

Ideally we would like to have a checkbox or radio in the form, so that once someone for example checks customer A, they are shown the “customer A” referral field.
Another option would be to make the two different referral fields collapsible.

Only bit I have found is this:
How would I go about that? I’m fiddling with html fields, and trying to make the field ‘conditional’ or collapsible, but can’t get it to work.

In the end I just want the referrals to be put either in ‘Box A’ or ‘Box B’
Could anyone point me in the right direction?

Kind regards,