I have a database that is accessed over the web. It has a drop down list that is dependant upon the value of the field above it. I ended up using an iframe and javascript to calculate the keyword list. This is working great.
However, when I bring up one of my saved forms and put it into edit mode, the value I selected in my keyword field is no longer selected and none of the keywords are there either. If I open the form in read mode, my selected value is there, but as soon as I put it into edit mode, my selected value is gone and the only way to get it back is to change the field above to kick off the onchange event to repopulate the keyword list using the iframe.
Here’s the code in the iframe that sets the keyword values:
How can I get it to retain the selected value? Any help is appreciated.