Hello,
I have to create a complex form to handle company product returns.
Right now, I have some form fields to describe the product being returned,
productID, productDES,ProductQTY.
Thats fine. I have a button that will dynamically create those
fields with javascript, with an 'add more' button. It creates a line
with consecutive names like
productID[1], productDES[1]...productID[2]...productID[3]...
similar to this
http://chucklarge.mine.nu/test/javas...element-02.htm
Ok, so the problem i have is for each one of those lines of products to
return, serial
numbers need to be entered that match the Quantity being returned.
There can
be hundreds or more of each different product to return.
The client mentioned having a popup window that would allow you to enter
each of
the serial numbers and have those linked to the form line of the main
page.
This sounds fine with me, as long as they don't complain later about
popup blockers,
anyway, unless there is a better way to handle this, I will create a
popup that has
one line of fields, the serial number is entered, and the condition and
then you
hit and add button and it populates the info below, then you keep
entering the
other serial numbers.
I guess then I want to know how to get the info back to the main page.
I will
store all the serial numbers in an array, so hopefully that will make it
easier,
but then where does that info get stored on the main page, and can it all
be submitted when the main form is submitted?
sorry I am just a little lost on this idea and am looking for advice.
thanks,
Chuck