Disabling Multiple Form Fields When Checkbox is Checked

HI

I am new to hubspot and i have got a query in landing pages.

I have got 5 check boxes in a landing page. If i check the last checkbox all other opted must be unchecked and if any of the first 4 is checked the last one must be un checked.

EX: Like a Preference form. If thy click optout all their subscriptions must be unchecked and vice versa.