mcking_koy Posted February 29, 2012 Share Posted February 29, 2012 Hi i am working one of my assignment for school.. i just studied php.. my problem is, is it possible to load another form once i clicked a radio button? if its a yes... can you teach me how to do that? thank you! Quote Link to comment https://forums.phpfreaks.com/topic/257967-loading-another-form-after-clicking-a-radio-button/ Share on other sites More sharing options...
requinix Posted February 29, 2012 Share Posted February 29, 2012 Probably. What do you mean by "load another form"? Quote Link to comment https://forums.phpfreaks.com/topic/257967-loading-another-form-after-clicking-a-radio-button/#findComment-1322240 Share on other sites More sharing options...
mcking_koy Posted February 29, 2012 Author Share Posted February 29, 2012 <form id="form1" name="form1" method="post" action=""> <table width="504" border="0" cellspacing="1" cellpadding="1"> <tr> <td colspan="2" align="center">Promoters Info</td> </tr> <tr> <td width="180" rowspan="2"> </td> <td width="317"><input type="radio" name="radio" id="radio_id_card" /> ID Card </td> If ID Card is ticked or clicked.... it will load this form.... <form id="idcard_form" name="form1" method="post" action=""> <table width="504" border="0" cellspacing="1" cellpadding="1"> <tr> <td colspan="2" align="center">ID Card Form</td> </tr> <tr> <td width="180">Name</td> <td width="317"> <input type="text" name="textfield" id="textfield" /> </td> </tr> <tr> <td width="180">Email</td> <td width="317"> <input type="text" name="textfield" id="textfield" /> </td> </tr> <tr> <td width="180">Tel Number</td> <td width="317"> <input type="text" name="textfield" id="textfield" /> </td> </tr> <tr> <td width="180">Cell Number</td> <td width="317"> <input type="text" name="textfield" id="textfield" /> </td> </tr> <tr> <td width="180">Complete Mailing Address</td> <td width="317"> <input type="text" name="textfield" id="textfield" width="300" /> </td> </tr> </table> </form> <tr> <td width="317"><input type="radio" name="radio" id="radio_greet_card"/> Greeting's Card</td> </tr> </table> Quote Link to comment https://forums.phpfreaks.com/topic/257967-loading-another-form-after-clicking-a-radio-button/#findComment-1322241 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.