Rating questions in scripting
Use scripting to get and set values for Rating questions. The values are the numeric scale values and not the units (stars, thumbs, hearts).
Function | Description |
---|---|
question.get();
|
Returns the numeric value of the rating. The default value is null. |
question.set(rating);
|
Sets the numeric value of the rating. |
question.unset();
|
Unsets the value so that there is a default no value state for the question. |