Determine value to return for 'select' element