I've tried and tried, but can't find a google search term that answers this.
I have a FORM(), not a SQLFORM(), with a SELECT and a bunch of options in it, and I need to set the _selected attribute on one of them. When I construct the SELECT, I don't know which one needs to be selected until later in the controller function. Other than jQuery :), how do I tell the correct OPTION to select. I tried setting form.vars.ELEMENTNAME before returning the form, but no luck. I'm so sure I once knew how to do this...

