Handling Post operation in php with Disabled Radio button

By | August 2, 2017

Below example of code shows how to handle the value of disabled radio button passing through post method.
if we use radio button group as disabled then if we click submit button it will post null value. Instead of getting null value in this example, we used a hiddenfield called “radiobutton_visibility”. When change the radio button selection it will call a java script function and update the hidden variable.

Please look into the below example.