cancel
Showing results for 
Search instead for 
Did you mean: 

How to use Set Value rule option when using Responsive forms

Topic

The Set Field Value option that can be selected when setting a rule on a Single Line of Text control is used to set the value of the control based on another control.
If all that is required is to set the value of the control when the form loads the "Default Value" should be configured in the control settings.

Instructions

Example of use.

Add a Choice control to the canvas and name it "Selection"
Configure choices to be Yes,No,Maybe
Add a Single Lines of Text Control to the canvas.
Select the control and click on the Add Rule button from the rules pane.

Configure rule:
Rule name: "congratulations"
When: equals(Selection,"Yes")
Then: Set value
Value: "Hooray"

Publish form and test.
When you select Yes from the choice control the Single Lines of Text control will change to Hooray.

Labels: (2)
Tags (2)
Version history
Revision #:
18 of 18
Last update:
‎11-28-2018 11:21 AM
Updated by: