Skip to content

Tag: radio-button

My PHP not processing input from radio buttons

EDIT: Some more searching on the wide web led me to this… Later on, in my form, I disable these radio buttons to prevent users from changing their previous answers after some time… Is it possible that the PHP is not reading the diasabled buttons? How should I then prevent the change of radio butto…

Hide html content based on radio selection

Hi I’m fairly new to php/html and Im having trouble with hiding the inputs based on my radio input selection. I want to be able to hide the rest of the inputs if “yes” is selected but nothing happens. Any help would be greatly appreciated. Thanks. Answer Make sure your function block is clos…

Radio not disabling due to loop

This is my radio disabling function. And I will call it when the page is loaded! And the radio button is displayed through loop..! So the radio ids would be like: dis1,dis2 … dis6 But its not disabling it…! I think its because of the while loop, I used..! what should I do..? Answer this line: shou…

Using radio box selection to display multiple DIVs

I need to be able to use three radio buttons to determine which P’s display on a page. All items are queried from a database so there is no fixed number. I’d like to stick with javascript if possible. All is written inside PHP code Tried using the following: Then each P will have the option of 6 p…