|
Fou-Lu,
I'm guessing there are so many other things not quite right, there's no
way the OP will be able to process it all. It appears as he said, a learning thing.
But one might say, "learn it right, from the beginning". No way we're going to be
able to do an online course using codingforums. So, I'm just letting it go with the flow.
Mo ...
OK ... so now you're wanting radio buttons instead of checkboxes?
Create the new form with radio buttons, but the value of the one
in front of <text> box will be value="x"
Next, there will be some javascripting to detect if the radio button is
clicked, and then enable the text box. I think you should do some Googling
for: javascript radio button enable text box
See what you find.
If you can get the javascript to enable the text box, the PHP processing
script will see if the radio button value is "x". If it is, it will use the text
in the text box instead of the radio button value. If the radio button
value is NOT "x", it will use the radio button value.
.
Last edited by mlseim; 08-07-2012 at 10:41 PM..
|