need better understanding of the update page
Jason,
Using 2 dynamic drop downs (parent = galltype, child= category) in an insert page for file called imagefil.
The insert page works perfectly. (selecting a galltype filters the category DD
Trying to make the update page function properly
pertinent fields
parent drop down is gallid (serves as a lookup from the galltype file)
gallid and galldesc are pertinent fields
child dropdown is catid (serves as a lookup from the category file)
catid , gallid and category are the fields
have worked for two days trying different combinations to no avail.
I have read and tried many of the suggestions from various posts and your responses from this forum.
My questions are:
1. Could you explain the purpose of the dynamic Array ?
2. In one instance you state that the update page is similar to the insert, except for the body onload event where the set selected in list for the parent list and populate list from array are to be added. Does that mean the dynamic array, dynamic menu on parent and the onchange behavior on the parent select are all the same?
3. Could you explain what the purpose of the “populate list from array” and “set select in list” are and how they must relate to the dynamic array?
Note that in my insert page I added the following jquery because I don't understand the regular javascript...
var j = jQuery.noConflict();
j("select.catid").change(function () {
var str = "";
j("select.catid option:selected").each(function () {
str += j(this).text() + " ";
});
j(".category").val(str);
});
this fills a text field below the child dropdown . My display on another page required that I capture the catid and category ( the actual description field )
Thank you for your time,
Gregg