@nycu-sdc/core-system-sdk
    Preparing search index...

    Interface FormsQuestionRequest

    The request body for creating/updating a question.

    interface FormsQuestionRequest {
        choices?: FormsChoiceOption[];
        description: string;
        oauthConnect?: AuthOAuthProviders;
        order: number;
        required: boolean;
        scale?: FormsScaleOption;
        sourceId?: string;
        title: string;
        type: FormsQuestionTypes;
        uploadFile?: FormsUploadFileOption;
    }
    Index

    Properties

    choices?: FormsChoiceOption[]

    Available choice options for single_choice, multiple_choice, dropdown, and ranking questions.

    description: string

    More details of this question.

    oauthConnect?: AuthOAuthProviders

    Available options for OAuth connect questions.

    order: number

    What is the number of this question in the form.

    required: boolean

    Whether the question is required to answer or not.

    Available options for linear scale and rating questions.

    sourceId?: string

    If set, choices are dynamically generated from answers to this question.

    title: string

    What is the question.

    The type of the question.

    Available options for file upload questions.