This may be wrong but it works for me ;-)
My form has two dropdowns (1 parent, 1 child)
I have done the following:
1. Applied dynamic values options from recordsets to both dropdowns.
2. Added server behavior "create dynamic array"
3. Applied to BODY tag, behavior "Populate List From Array"
4. Applied to BODY tag, behavior "Set Selected In List".
I found these instructions in another forum post. Is there a clear step-by-step tutorial on this?
Currently when the form loads, the PARENT dropdown populates as required, but the CHILD does not. The child appears empty with no dynamic list options to choose from.
Could someone please help me with a step-by-step on getting dynamic dropdowns to work on my update form.
My body tag code is:
<body onload="WA_FilterAndPopulateSubList(rsSubCategories_WAJA,MM_findObj('categoryID'),MM_findObj('subCategoryID'),0,0,false,': ');WA_setSelectionsInChildList(MM_findObj('subCategoryID'),<?php echo $row_WADAws_inventory['subCategoryID']; ?>)">
Thanks. D.
This may be wrong but it works for me ;-)
1. Added server behavior "create dynamic array"
2. Applied to BODY tag, behavior "Set Selected In List". (Master DD)
3. Applied to BODY tag, behavior "Populate List From Array" (To Set the Array for the Sub DD)
4. Applied to BODY tag, behavior "Set Selected In List". (Sub DD)