How to link using the fields of a single form several other unique forms

How can I make it so that in the “onclick” event on a radio type field, in a unique form A, it allows me to transfer a primary key and open another unique form B in input or edit mode to complete it.
I need to do the above for “n” fields in form A.

Thanks for your help.