Multi Step Math multistepmath

Multi-Step Math (multistepmath)

Allows multiline math input with step-by-step auto-scoring.

Attributes

  • text_blocks array

    List of custom text blocks. Maximum length 9 characters.

    Default: []

  • is_math boolean

    Set to true to have LaTeX or MathML contents to be rendered with mathjax.

    Default: false

  • metadata object

    Object containing additional information about the question.

  • metadata.distractor_rationale string

    Used to display individual response feedback/rationale to the student.

  • metadata.rubric_reference string

    A unique identifier for the rubric to be used with the question - defaults to course rubric if assigned in activity

  • metadata.sample_answer string

    A sample answer to be displayed on the Learnosity Reports API. HTML is supported.

  • metadata.acknowledgements string

    References for any text passages, documents, images etc. used in the question.

  • metadata.distractor_rationale_response_level array

    Used to display individual response feedback/rationale to the learner, at the relevant response level.

  • stimulus string

    The question stimulus. This can include text, tables, images, resources and LaTeX entered via the Math Editor.

  • stimulus_review string

    HTML/Text content displayed only in review state rendered above the response area. Supports embedded Feature <span> tags. Will override stimulus in review state.

  • instructor_stimulus string

    HTML/Text content displayed when showInstructorStimulus is set to true on the activity. Supports embedded Feature <span> tags.

  • type string

    Type of question being asked, e.g. 'association'

    Default: "multistepmath"

  • ui_style object

    Object used to control different aspects of the UI

  • ui_style.fontsize string

    Controls the size of base font for this question. Options are among 'small', 'normal', 'large', 'xlarge' and 'xxlarge'.

    Default: "normal"

  • ui_style.validation_stem_numeration string

    Numeration character to be displayed to the left of the validation label.

    Default: "number"

  • ui_style.response_font_scale string

    This scales the font relative to the question's font size. Possible values:

    • "boosted" 150%
    • "normal" 100%

    Default: "boosted"

  • ui_style.type string

    Keyboard style. See Keypad Customization for more information. Possible values:

    • "floating-keyboard"

      A movable keypad appears when the learner brings focus into the response box

    • "block-keyboard"

      A fixed keypad that is always visible

    • "block-on-focus-keyboard"

      A fixed keypad appears when the learner brings focus into the response box

    • "no-input-ui"

      No keypad

    Default: "block-on-focus-keyboard"

  • ui_style.min_width stringUnits

    Controls the minimum width of the response input area, e.g. 550px

    Default: ""

  • ui_style.keyboard_below_response_area boolean

    When enabled, this will position the floating keyboard below the last line of the response area. Otherwise, this will partially overlap the response area.

    Default: false

  • feedback_attempts number

    If instant_feedback is true, this field determines how many times the user can click on the 'Check Answer' button. 0 means unlimited.

    Default: 0

  • instant_feedback boolean

    Flag to determine whether to display a 'Check Answer' button to provide instant feedback to the user.

    Default: false

  • validation object

    In this section, configure the correct answer(s) for the question.

  • validation.allow_negative_scores boolean

    Negative scores will be normalised to zero by default. Allowing negative scores, on the other hand, means that the score can drop below zero when penalties are applied.

    Default: false

  • validation.penalty number

    Value indicating the marks deducted for an incorrect response.

    Default: 0

  • validation.min_score_if_attempted number

    Positive value indicating the minimum score if a student attempted the question.

    Default: 0

  • validation.scoring_type string

    The way in which marks are distributed for the question. Possible options:
    'exactMatch': Exact Match - All parts of the question must be answered correctly to receive a mark.
    'partialMatchV2': Partial Match - Each correct response element will be scored individually, and the overall question score will be divided between the responses.
    'partialMatch': Partial Match per Response - Each correct response element will be awarded an individual score.

    Default: "exactMatch"

  • validation.unscored boolean

    When enabled, this option will remove all scoring from the question. This is useful for creating practice questions.

    Default: false

  • validation.valid_response object

    An object containing the valid response score and value.

  • validation.valid_response.score number

    Score awarded for the correct response(s).

    Default: 1

  • validation.valid_response.value array

    A collection of arrays containing objects with the valid response.

    Default: []

  • validation.valid_response.value[ ][ ].method string

    The method used to compare user input against the valid response value.

    Default: "equivLiteral"

  • validation.valid_response.value[ ][ ].value string

    The value to match against

    Default: ""

  • validation.valid_response.value[ ][ ].aria_label string

    A plain text version of the correct answer, available in review state for screen reader users

    Default: ""

  • validation.valid_response.value[ ][ ].options object

    Extra options for the selected method.

  • validation.valid_response.value[ ][ ].options.decimalPlaces number

    Number of significant decimal places: default is 10. Max is 10.

    Default: 10

  • validation.valid_response.value[ ][ ].options.setDecimalSeparator string

    Select a decimal separator. Options are: dot or comma.

    Default: "."

  • validation.valid_response.value[ ][ ][ ].method string

    The method used to compare user input against the valid response value.

    Default: "equivLiteral"

  • validation.valid_response.value[ ][ ][ ].value string

    The value to match against

    Default: ""

  • validation.valid_response.value[ ][ ][ ].aria_label string

    A plain text version of the correct answer, available in review state for screen reader users

    Default: ""

  • validation.valid_response.value[ ][ ][ ].options object

    Extra options for the selected method.

  • validation.valid_response.value[ ][ ][ ].options.decimalPlaces number

    Number of significant decimal places: default is 10. Max is 10.

    Default: 10

  • validation.valid_response.value[ ][ ][ ].options.setDecimalSeparator string

    Select a decimal separator. Options are: dot or comma.

    Default: "."

  • validation.automarkable boolean

    Defines whether the question will be marked automatically, or must be marked manually.

    Default: true

  • validation.alt_responses array

    Add an alternate response if there is more than one correct overall solution to a question.

  • validation.alt_responses[ ].score number

    Score if the alternative response is correct.

    Default: 1

  • validation.alt_responses[ ].value array

    Add multiple objects to validate the response with. Every item inside the list must match the question response to be considered valid.

    Default: []

  • validation.alt_responses[ ].value[ ][ ].method string

    The method used to compare user input against the valid response value.

    Default: "equivLiteral"

  • validation.alt_responses[ ].value[ ][ ].value string

    The value to match against

    Default: ""

  • validation.alt_responses[ ].value[ ][ ].aria_label string

    A plain text version of the correct answer, available in review state for screen reader users

    Default: ""

  • validation.alt_responses[ ].value[ ][ ].options object

    Extra options for the selected method.

  • validation.alt_responses[ ].value[ ][ ].options.decimalPlaces number

    Number of significant decimal places: default is 10. Max is 10.

    Default: 10

  • validation.alt_responses[ ].value[ ][ ].options.setDecimalSeparator string

    Select a decimal separator. Options are: dot or comma.

    Default: "."

  • validation.alt_responses[ ].value[ ][ ][ ].method string

    The method used to compare user input against the valid response value.

    Default: "equivLiteral"

  • validation.alt_responses[ ].value[ ][ ][ ].value string

    The value to match against

    Default: ""

  • validation.alt_responses[ ].value[ ][ ][ ].aria_label string

    A plain text version of the correct answer, available in review state for screen reader users

    Default: ""

  • validation.alt_responses[ ].value[ ][ ][ ].options object

    Extra options for the selected method.

  • validation.alt_responses[ ].value[ ][ ][ ].options.decimalPlaces number

    Number of significant decimal places: default is 10. Max is 10.

    Default: 10

  • validation.alt_responses[ ].value[ ][ ][ ].options.setDecimalSeparator string

    Select a decimal separator. Options are: dot or comma.

    Default: "."

  • validation.alt_responses[ ][ ].score number

    Score if the alternative response is correct.

    Default: 1

  • validation.alt_responses[ ][ ].value array

    Add multiple objects to validate the response with. Every item inside the list must match the question response to be considered valid.

    Default: []

  • validation.alt_responses[ ][ ].value[ ][ ].method string

    The method used to compare user input against the valid response value.

    Default: "equivLiteral"

  • validation.alt_responses[ ][ ].value[ ][ ].value string

    The value to match against

    Default: ""

  • validation.alt_responses[ ][ ].value[ ][ ].aria_label string

    A plain text version of the correct answer, available in review state for screen reader users

    Default: ""

  • validation.alt_responses[ ][ ].value[ ][ ].options object

    Extra options for the selected method.

  • validation.alt_responses[ ][ ].value[ ][ ].options.decimalPlaces number

    Number of significant decimal places: default is 10. Max is 10.

    Default: 10

  • validation.alt_responses[ ][ ].value[ ][ ].options.setDecimalSeparator string

    Select a decimal separator. Options are: dot or comma.

    Default: "."

  • validation.alt_responses[ ][ ].value[ ][ ][ ].method string

    The method used to compare user input against the valid response value.

    Default: "equivLiteral"

  • validation.alt_responses[ ][ ].value[ ][ ][ ].value string

    The value to match against

    Default: ""

  • validation.alt_responses[ ][ ].value[ ][ ][ ].aria_label string

    A plain text version of the correct answer, available in review state for screen reader users

    Default: ""

  • validation.alt_responses[ ][ ].value[ ][ ][ ].options object

    Extra options for the selected method.

  • validation.alt_responses[ ][ ].value[ ][ ][ ].options.decimalPlaces number

    Number of significant decimal places: default is 10. Max is 10.

    Default: 10

  • validation.alt_responses[ ][ ].value[ ][ ][ ].options.setDecimalSeparator string

    Select a decimal separator. Options are: dot or comma.

    Default: "."

  • validation.given_expressions array

    Enter any math expressions from the question stimulus that the learner might use in their response. These expressions will be used to validate intermediate steps.

    Default: []

  • validation.feedback_mode string

    Defines the way in which feedback is provided to the student.

    • None - No feedback is provided to the student.
    • Check answer button - Enables the Check Answer button underneath the question, which will provide the student with instant feedback on their response.
    • Check answer button and automatic feedback of steps - Enables the Check Answer button underneath the question and automatic step-by-step feedback as student moves to a new line.
    • Automatic feedback of steps only - Enables automatic step-by-step feedback as student moves to a new line.

    Default: "None"

  • handwriting_recognises string

    A string with the name of one of the available math grammar sets.

    Default: "standard"

  • equiv_literal_legacy boolean

    Allows equivLiteral (2)(x) evaluate to true.

    Default: false

  • showHints boolean

    Disables hint, including keyboard shortcuts and group titles, shown on the keyboard's top left corner when hovering over a symbol group key.

    Default: true

  • horizontal_layout boolean

    Enables a horizontal layout with ten columns and two rows.

    Default: false

  • math_image_capture boolean

    Controls whether the learner can enter their response by capturing an image of handwritten math.

    Note This is a premium feature and may not be included in your product license. For more information, reach out to your Learnosity Account Manager.

  • show_hints_button boolean

    Controls whether the "Show hints" button will be shown.

    Default: false

    Version added: v2025.1.LTS

  • hints object

    Object containing the hint configuration for the question.

    Version added: v2025.1.LTS

    • items array

      An array of objects containing the hint content.

      • content string

        The text that will be displayed as a hint. HTML is supported.

Was this article helpful?

Did you arrive here by accident? If so, learn more about Learnosity.