How to make data from a database table available for selection in form fields