houssam_ballout Posted July 6, 2011 Share Posted July 6, 2011 Hello, How can I create a button that will automatically display number of elements (radio button, textbox & drop down) together (the number of elements is being selected from a textbox field), or an option to add one row at a time but with a maximum of 20 rows? Thanks Quote Link to comment https://forums.phpfreaks.com/topic/241183-display-number-of-html-elements-on-demand/ Share on other sites More sharing options...
priti Posted July 6, 2011 Share Posted July 6, 2011 You have to do this in javascript. JQuery is another good option to think off. Quote Link to comment https://forums.phpfreaks.com/topic/241183-display-number-of-html-elements-on-demand/#findComment-1238897 Share on other sites More sharing options...
houssam_ballout Posted July 6, 2011 Author Share Posted July 6, 2011 Need help coding it. Thanks Quote Link to comment https://forums.phpfreaks.com/topic/241183-display-number-of-html-elements-on-demand/#findComment-1238988 Share on other sites More sharing options...
xyph Posted July 6, 2011 Share Posted July 6, 2011 This site should help Quote Link to comment https://forums.phpfreaks.com/topic/241183-display-number-of-html-elements-on-demand/#findComment-1239000 Share on other sites More sharing options...
cyberRobot Posted July 6, 2011 Share Posted July 6, 2011 Hello, How can I create a button that will automatically display number of elements (radio button, textbox & drop down) together (the number of elements is being selected from a textbox field), or an option to add one row at a time but with a maximum of 20 rows? Thanks Do the elements need to appear on the same page or can they appear on the next page? For the same page, you'll need to use something like JavaScript. Otherwise, you could create a multi-step form using PHP. Quote Link to comment https://forums.phpfreaks.com/topic/241183-display-number-of-html-elements-on-demand/#findComment-1239014 Share on other sites More sharing options...
houssam_ballout Posted July 9, 2011 Author Share Posted July 9, 2011 I prefer to make them using JavaScript. Any help? Quote Link to comment https://forums.phpfreaks.com/topic/241183-display-number-of-html-elements-on-demand/#findComment-1240507 Share on other sites More sharing options...
Andy11548 Posted July 9, 2011 Share Posted July 9, 2011 The only help I can give is to try posting this topic Here Quote Link to comment https://forums.phpfreaks.com/topic/241183-display-number-of-html-elements-on-demand/#findComment-1240510 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.