Type key: rating_number. Renders a row of numbers from rating_start to rating_max, from which respondents pick one. For a fixed 0 to 10 recommendation question, use NPS. In the editor this is the Linear Scale block.
A question: the question rules apply, and it can sit in a layout row column.
Meta fields
Section titled “Meta fields”The meta fields of this node type are listed in the request body of Replace the draft document, under pages › nodes, in the rating_number tab.
Example
Section titled “Example”{ "public_id": "nNps", "sort_order": 1, "type": "rating_number", "meta": { "question": "<span>How likely are you to recommend the meetup?</span>", "rating_max": 10, "validation": { "required": false } }}Defaults and rules
Section titled “Defaults and rules”rating_startandrating_maxaccept-10to10.rating_maxdefaults to10, and an omittedrating_startstarts the scale at1.rating_reversereverses the display order without changing the stored values.rating_labelsshows the endpoint labels,rating_label_lowandrating_label_high, which are inline rich text of up to 200 visible characters.default_valueis a number; when the form renders it is clamped to the scale and rounded to a whole number.