View Full Version : Adding Details to an item

12-25-2007, 02:33 AM
General question in PHP context... I need to allow the user to add/relate one or more child/detail items to a parent. Think Order/line detail or Bill of Materials. All items are stored in the same table.

In PHP/HTML I could give a text box and let the user enter the entire item number but that tends to be prone with data entry errors. HTML has a drop down list but there are several hundred items - that list would be huge for the drop down.

What other methods could you suggest to allow a user to select the child item from a potentially huge list?

Thanks and Happy Holidays

12-25-2007, 03:35 AM
Categories with chained selects.

12-25-2007, 04:29 AM
How do you do something like that? Need Java?

12-25-2007, 04:34 AM
No, just PHP and Javascript. Chained selects have been discussed on this forum quite a bit, so you should be able to find some examples to get started with by searching it, or Google.