'This method checks the following text inputs are filled out by the user
- the name of form
- form type'

def __validate_form(self, **kwd):

    params = util.Params(kwd)
    if (not util.restore_text(params.name)):
        return (None, 'Form    name    must    be    filled.')
    if (util.restore_text(params.form_type_select_field) == 'none'):
        return (None, 'Form    type    must    be    selected.')
    return (True, '')
