'This method gets all the options entered by the user for field when
the fieldtype is SelectField'

def __get_select_field_options(self, index, **kwd):

    params = util.Params(kwd)
    ctr = 0
    sb_options = []
    while True:
        if (('field_%s_option_%s' % (index, ctr)) in kwd):
            option = params.get(('field_%s_option_%s' % (index, ctr)), None)
            sb_options.append(util.restore_text(option))
            ctr = (ctr + 1)
        else:
            return sb_options
