mcking_koy Posted March 1, 2012 Share Posted March 1, 2012 Just a quick help here... When you click click this radio button. <input type="radio" name="radio" id="radio_id_card" /> ID Card it will open the form below the radio button. <form> First Name: <input type="text" name="textfield" id="textfield" /> Last Name: <input type="text" name="textfield" id="textfield" /> <input type="submit" id="Send" value="Submit" /> </form> ------------------------------- hope someone can help me... i really have a bad time thinking of ways to do it.. thank you in advance.. Quote Link to comment https://forums.phpfreaks.com/topic/258028-help-with-radio-button-once-ticked-it-will-open-a-form-below-it/ Share on other sites More sharing options...
creata.physics Posted March 1, 2012 Share Posted March 1, 2012 This is not a php issue. Well, I take that back, it can be. If you have the form submitted once a radio is clicked then php can produce your extra form afterwards once the post data is retrieved, but that's definitely counterproductive and I doubt anybody would try and do it that way. Look into javascript to lend you a helping hand, jquery is also a lot of help, as it can probably do exactly what you're asking with little amounts of code. http://jquery.com/ Quote Link to comment https://forums.phpfreaks.com/topic/258028-help-with-radio-button-once-ticked-it-will-open-a-form-below-it/#findComment-1322653 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.