Feb 17, 2005 #1 meeble3 Programmer Nov 8, 2004 52 GB When I pass a radio button value through if it's selected it says 'on'. On the next page, how do I change the on to a yes? Something like if $value ==" on" then $value =="yes", I thought but this doesn't work. Any ideas, thanks...
When I pass a radio button value through if it's selected it says 'on'. On the next page, how do I change the on to a yes? Something like if $value ==" on" then $value =="yes", I thought but this doesn't work. Any ideas, thanks...
Feb 17, 2005 #2 sleipnir214 Programmer May 6, 2002 15,350 US You can set a value to a radiobutton in your HTML and make it return whatever you want. But it's always seemed more important in my code to know which button was chosen, not what value was returned. Want the best answers? Ask the best questions! TANSTAAFL!! Upvote 0 Downvote
You can set a value to a radiobutton in your HTML and make it return whatever you want. But it's always seemed more important in my code to know which button was chosen, not what value was returned. Want the best answers? Ask the best questions! TANSTAAFL!!
Feb 19, 2005 #3 rockstardub Programmer Dec 29, 2004 42 US Post your scripts and then we can fix it. Upvote 0 Downvote