I have a form that auto generates a document number. The user
then enters one or more part numbers and quantities. When they
submit, I insert all the document number, all the part nubmers and
quantites into a table. I then use cflocation to pass the document
nubmer to another page and query the table again using
#url.docuemnt_number#.
What I want to do is to generate input fields based on the
quantity of each part number. So if I retrieve pn1 for the docuemtn
number and the qty is 5, it will generate 5 input fields. Then it
gets the next part number, pn2, and if the qty is 2, it will
generarte 2 input fields, etc. all on the same page. When they
submit, I will insert all the input fields into another table along
with the docuemtn number and part number.
Is is possible to do this in cf, and if yes, how do I do
it.?