So... the logic goes:
Code:
if no submitted form value for field
write the select box,
write the options in it,
add option to selectbox, using selectbox's label text, and make it selected
else if submitted value
write the select box,
write the options in it,
if one of the options has the same value as the submitted form value
make that one selected
Is that about right? If so, and especially if you're sumbitting the page to itself, I'd do it all server side. Sorry, that's probably not the answer you needed.