Found the problem:
The value in my database record had some trailing spaces, but the values in the dropdown options did not, so when the form was populated, the values did not match and the form could not set the dropdown value.
Removed trailing spaces from DB value and everything works fine.
Doh!
|