How to populate the html clicked radio button value into a form using Deluge

How to populate the html clicked radio button value into a form using Deluge

Dear all,

I've a page with some radio buttons that I use as a toggle, I'd need to obtain the value of the clicked radio and insert it into a form together with loginusetid.

The purpose is to remember what "tab" /radio button last clicked the user.

Thanks in advance
Eduard Martínez