Create Dynamic Drop Down List on Customer Portal
Content
Hi all,
I made a post a week or so sort of related to this. This attempt is just a different way of achieving the outcome I need.
I have created two HTML select boxes on our form. I need to find a way to only show the relevant list when the appropriate option is selected. e.g. when level 1 has "Absence" selected, it will load the optgroup "absence" in the level 2 drop down, etc.
My code is below. I think it may need some form of javascript but I have no idea how to call a JS function as it is something I have never worked with before.
Tagged:
0