Basic RuleZ

Things RuleZ can do

.appear, .disappear
These operators cause the specified question, question range or section to appear or disappear if the check or condition is true. When you use .appear or .d...
Mon, 11 Mar, 2024 at 7:48 AM
.forceappear, .forcedisappear
These two rules are used in a similar manner to .appear() and .disappear(). The main difference is that unlike .appear and .disappear, .forceAppear and .for...
Mon, 11 Mar, 2024 at 7:48 AM
.appearRandom
This operator lets you choose a subset of the specified questions, chosen at random. It can be used with a question range or a section. This is useful for q...
Fri, 8 Mar, 2024 at 4:27 AM
.hideoptions, .showoptions
The .hideoptions and .showoptions operators can be used to hide or show some of the answer options for a specified question.  For example, you can decide to...
Mon, 11 Mar, 2024 at 7:49 AM
.makeRequired, .makeNotRequired
These operators override the standard survey settings, making one or more questions required or not required if the conditions have been met; for example: ...
Fri, 8 Mar, 2024 at 4:29 AM
.makeVoidRequired
One or more Question Interface or question group Overrides question requirement, making it required that question has no answer. ifQ(21) .answered(2) ....
Fri, 8 Mar, 2024 at 4:30 AM
.setError, .setQSetError
These operators send an error message if the previous condition was met. .setError sends the same message in all cases, while .setQSetError can be used to c...
Fri, 8 Mar, 2024 at 4:31 AM
.setShopStatus
This operator sets the status for the current shop. The status numbers can be any of the following: 0 : Created 1 : New 2 : Incomplete 3 : Completed ...
Mon, 11 Mar, 2024 at 7:50 AM
.setValue, .clearAnswer
.setValue This operator sets the answer option for the specified question.  Answer options can be set in several ways; for example: .setValue(Q(30), 1)   ...
Mon, 11 Mar, 2024 at 7:51 AM
Math
.sum .sub .multiply .divide .store The first four operators perform a calculation (add, subtract, multiply, divide) on a numeric question answer, an...
Mon, 11 Mar, 2024 at 7:52 AM