''

@staticmethod
def complete_onvalidate(form):

    T = current.T
    form_vars = form.vars
    if (('series_id' not in form_vars) or (form_vars.series_id is None)):
        form.errors.series_id = T('Series    details    missing')
        return False
    if (('answer_list' not in form_vars) or (form_vars.answer_list is None)):
        form.errors.answer_list = T('The    answers    are    missing')
        return False
    series_id = form_vars.series_id
    answer_list = form_vars.answer_list
    qstn_list = survey_getAllQuestionsForSeries(series_id)
    qstns = []
    for qstn in qstn_list:
        qstns.append(qstn['code'])
    temp_answer_list = answer_list.splitlines(True)
    for answer in temp_answer_list:
        qstn_code = answer[1:answer.find('","')]
        if (qstn_code not in qstns):
            msg = ('%s:    %s' % (T('Unknown    question    code'), qstn_code))
            if (answer_list not in form.errors):
                form.errors.answer_list = msg
            else:
                form.errors.answer_list += msg
    return True
