# Help with JavaScript dynamic forms

**URL:** <https://forum.kirupa.com/t/help-with-javascript-dynamic-forms/255129>\
**Category:** web dev\
**Created:** [March 19, 2008, 12:10pm UTC](https://forum.kirupa.com/t/help-with-javascript-dynamic-forms/255129 "2008-03-19T12:10:08Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Byrnzie](https://avatars.discourse-cdn.com/v4/letter/b/d78d45/32.png) [@Byrnzie](https://forum.kirupa.com/u/Byrnzie)\
**Post date:** [March 19, 2008, 12:10pm UTC](https://forum.kirupa.com/t/help-with-javascript-dynamic-forms/255129/1 "2008-03-19T12:10:08Z")

</div>

Hi i was trying to make a web form for a booking system where a group of expences can be added the number of expences differs from booking to booking.

I want the sytem to be able to read through the current input save the data entered in them then re-create them and then also create a new blank input with a new name … aka input1 input2. I have tried and tested each component of what i want to do but when i tried combining them into my function it doesn’t seem to work. I have very little experience in Java script as most of my work revolves around server side scripts.

i have attached the code I came up with is there anything i am missing, or doing wrong?

-thanks in advance Matt
