Some things are solved
Thanks a lot again Ray.
With these changes that you proposed to me the error no longer occurs when I insert the text corresponding to the first radio button but, nevertheless, nothing is inserted in the database in the corresponding column although something happens in the insertion because it generates an id in the corresponding column of that table.
It occurred to me to remove the readonly attribute from the text field, but the same thing happens: do not write anything in the table when inserting.
In the case of the second button, it continues to work perfectly