Form field - is this possible?
Posted: Fri Oct 31, 2003 6:07 am
Hi all,
I am pretty new to PHP so I have little knowledge of inbuilt functions etc.
I have a form which will be used to submit a request for a Bill of materials (BOM). A Bom can contain any number of items, although this is generally less than 10 it can go over.
So I would like a form where the user can enter the Bom name and then specify which item numbers will be used to make up the Bom. Rather than just put 10 seperate fields on the form for the entering of individual item numbers I wanted to create a form which is more dynamic.
Here is my though.
Bom name field.
Item number entry field. With an 'add' button next to it. On click of add it would populate the next line in the list field.
Some sort of container/list field which would be populated by the entries in the Item entry field.
Am I just been stupid here and trying to be too clever and should just whack on 10 seperate item fields, or am I tredding down the right route?
If I am is this possible with php, and could you point me in the direction of the functions to do this sort of stuff?
Ta muchly for any assistance.
I am pretty new to PHP so I have little knowledge of inbuilt functions etc.
I have a form which will be used to submit a request for a Bill of materials (BOM). A Bom can contain any number of items, although this is generally less than 10 it can go over.
So I would like a form where the user can enter the Bom name and then specify which item numbers will be used to make up the Bom. Rather than just put 10 seperate fields on the form for the entering of individual item numbers I wanted to create a form which is more dynamic.
Here is my though.
Bom name field.
Item number entry field. With an 'add' button next to it. On click of add it would populate the next line in the list field.
Some sort of container/list field which would be populated by the entries in the Item entry field.
Am I just been stupid here and trying to be too clever and should just whack on 10 seperate item fields, or am I tredding down the right route?
If I am is this possible with php, and could you point me in the direction of the functions to do this sort of stuff?
Ta muchly for any assistance.