But what if instead of having a hard-coded set of options you want to gather the options from the database and have the value returned to your controller when the form is submitted be a record id rather than text? This How-To explains how to make a select field that pulls its options from items in the database.