How to make fields popup based on other fields
When my screen first loads, I have three radio buttons, A,B,and C.
If I select radio button A, I want to display/popup radio buttons A1, B1, and C1. If I select radio button A1, I then want to display/popup a <cfinput> for part number. If I select radio button B1, a display/popup <cfinput> for PO Number, and if I select radio button C!, <cfinput> for employee.
If I select radio button AB then I want to disply/popup radio buttons A1 and B1 only. And if I select radio button A1, then <cfinput> for part number, etc. (like above).
I have some javascript code, using <div>, that will display/popup <cfinput> for part number, po number, etc., based on radio button A1, B1 and C1 selection. But it does not seem to work for an extra set of selects (original radio buttons, A, B, C). I think that is because they seem to be using the same names in the javascript. I tried to change some names, making them 1A, 1B, etc., but that still did not work.
Can somebody please show me how to do this ?
Thanks
