ShoeLace1291 Posted December 14, 2008 Share Posted December 14, 2008 I was wondering how you would use PHP to allow users to add another input to the form. I need this option because I am writing a Wiki script. I need users to be able to add more sections to their wikis. Example: PHPMyAdmin table create page where it says save or add 1 more field with the one in a dropdown menu. Link to comment https://forums.phpfreaks.com/topic/136913-allow-user-to-add-new-form-field/ Share on other sites More sharing options...
phpSensei Posted December 14, 2008 Share Posted December 14, 2008 Use javascript, php is also possible but I think its much smoother with javascript.. http://binnyva.blogspot.com/2006/01/dynamic-form-field-generation-in.html Demo: http://www.openjs.com/scripts/examples/addfield.php Link to comment https://forums.phpfreaks.com/topic/136913-allow-user-to-add-new-form-field/#findComment-715039 Share on other sites More sharing options...
ShoeLace1291 Posted December 14, 2008 Author Share Posted December 14, 2008 Sweet, thanks. I looked everywhere for tutorials on this but couldn't find any. Link to comment https://forums.phpfreaks.com/topic/136913-allow-user-to-add-new-form-field/#findComment-715045 Share on other sites More sharing options...
phpSensei Posted December 14, 2008 Share Posted December 14, 2008 Sweet, thanks. I looked everywhere for tutorials on this but couldn't find any. No problem Link to comment https://forums.phpfreaks.com/topic/136913-allow-user-to-add-new-form-field/#findComment-715046 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.