Marcar checkbox automaticamente

Gostaria de saber se ao marcar o radio button como CPF teria como marcar automaticamente o checkbox é cpf e se clicar no radio button CNPJ desmarcar automaticamente o checkbox é cpf?

Hi, @freelafy, here are two prints, I believe this is what you want?

CNPJ_RADIO2
CPF_RADIO1

E como faço para ele preencher automaticamente os checkbox?

Ola, @freelafy , segue o print com as condicionais, casoHi, @freelafy, here is the print with the conditionals, in case it helps.