Change value of a radio button (disabled in the form) based on the values of other radio buttons in the same form.

Change value of a radio button (disabled in the form) based on the values of other radio buttons in the same form.

Hi,
I have a form named "MANAGER" inside which I have 5 radio button fields with each 2 values: "OK" & "NO".

I would like to configure in the same form another field named "STATUS" (disabled in the form) that would also have 2 values "OK" & "NO". This field would get it's value updated on-success based on the values in the 5 other fields as so :
  1. If the 5 other fields are set to "OK", set STATUS field's value to "OK".
  2. If any of the 5 other fields is set to "NO", set STATUS field's value to "NO".
Thanks for your help!