garethhall Posted May 4, 2009 Share Posted May 4, 2009 Hi Guys please point me in the right direction if you can. To be truthful I don't even know if this is a php question. I am busy building a php / mysql file upload system. So I have a form where the user attach a file to be uploaded but I want to allow multiple file uploads. To keep the explanation from my side simple I want it to work like youtube video upload section. As soon all the details are filed in it should start to upload and create a new form for the user to add a second or third file. I suspect Ajax is used here? Any ideas on how to do this? Thanks Link to comment https://forums.phpfreaks.com/topic/156730-create-dymanic-form-elements/ Share on other sites More sharing options...
Ken2k7 Posted May 4, 2009 Share Posted May 4, 2009 Do you know AJAX? If not, then I suggest learning it first. Link to comment https://forums.phpfreaks.com/topic/156730-create-dymanic-form-elements/#findComment-825334 Share on other sites More sharing options...
garethhall Posted May 4, 2009 Author Share Posted May 4, 2009 Yes I know some ajax but not crazy amounts. I am pretty good at javascript so it should not be a problem. I just need a place were there is a tutorial with an idea of how to do I will do the heavy work from there. Link to comment https://forums.phpfreaks.com/topic/156730-create-dymanic-form-elements/#findComment-825457 Share on other sites More sharing options...
Axeia Posted May 4, 2009 Share Posted May 4, 2009 Add an onchange listener to every element in the form that checks if the form is complete and when it is, cal the onsubmit using ajax / adding another one? Link to comment https://forums.phpfreaks.com/topic/156730-create-dymanic-form-elements/#findComment-825459 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.