runnerjp Posted September 5, 2008 Share Posted September 5, 2008 hey guys... ok need some advice and code possibley... ok at the moment i have created an area where users can select there event distance for running via drop down menu..... thing is ,,, is there away that a user could select the amount of boxes to appear... so if a user has 5 pb's then 5 boxes show or 1 then only 1 shows... or am i going to just have too put like 20 boxes down and let thm fill in what they want? i hope this makes sence if not please tell me Link to comment https://forums.phpfreaks.com/topic/122921-added-more-drop-down-boxes/ Share on other sites More sharing options...
discomatt Posted September 5, 2008 Share Posted September 5, 2008 You cna use javascript to create elements on the fly, or simply have a form with an input box, they type a number into the box and hit submit. You then run a for loop based on their input and create a box per loop. Link to comment https://forums.phpfreaks.com/topic/122921-added-more-drop-down-boxes/#findComment-634877 Share on other sites More sharing options...
runnerjp Posted September 6, 2008 Author Share Posted September 6, 2008 hummm know of any code i cold take a look at? open source stuff ect Link to comment https://forums.phpfreaks.com/topic/122921-added-more-drop-down-boxes/#findComment-635120 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.