phppaper Posted December 13, 2010 Share Posted December 13, 2010 Dear all, is there any way to Use textfield's value as radio button's value, for example i have a few radio button and the last one's topic is: o Others Please state: "textfield" So How can I make the arrangment so that when user choose that option, the text from the textfield will be sent by the form?? Thanks!! Quote Link to comment Share on other sites More sharing options...
haku Posted December 13, 2010 Share Posted December 13, 2010 You can't. But what you do is check if the selected radio button is the one for the textfield, and if it is, you use the value in the textfield. Otherwise you ignore the value in the textfield. Quote Link to comment Share on other sites More sharing options...
phppaper Posted December 13, 2010 Author Share Posted December 13, 2010 That sounds a good idea, so whats the code when php file received the value? If (isset($radio)) ?? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.