This content has been marked as final. Show 5 replies
What scripting language are you using? Did you create the edit page with a DW server behavior? A picture is worth 1000 words. Do you have a url?
The information on the pages is confidential. I will try to make a test page and post the URL for the test pages. I know this is difficult (at least for me) to describe the problem.
Change the xx to tt and there are two files: a list page and an edit page.
If you start with the list page, note the city and state for each one. If you click on the EDIT link, it takes you to the edit page. If you notice the default city and state are always the same. What I would like is for the city and state to show what is in the database already, not the same thing each time. That is, for the first one in the list view, the city/state is Spring/MA. If you click EDIT, I would like the drop down boxes to show Spring/MA, not Denver/Alaska.
The rest of the data is populating correctly into the fields on the edit form, so you must be populating the list boxes incorrectly. Please paste the code for that part of the script and it should be a simple fix. Note that I don't do php so someone else will have to take it from here.
I have been playing with this and have discovered what I left out. The drop down boxes needed to be populated with dynamic data from the database. The "test" site has been removed. Thanks for the help.