CurrentState: Object
The CurrentState property determines current settings for data validation wizard that validates data by comparing observation ratios.
Use the setCurrentState method to set the property value, and the getCurrentState method to get the property value. Property value cannot be set from JSON.
To execute the example, the HTML page must contain an instance of the RatioWizard class named ratioWizard (see RatioWizard Constructor). Determine new settings for this wizard:
// Determine new wizard settings var state = { value: { /* Specify the Less or Equal comparison */ "compOper": PP.TS.ValidationComparisonOperator.LessOrEqual, "percentage": True, // Specify value in percents "value1": 2 // First value in percents } }; // Apply these settings ratioWizard.setCurrentState(state);
After executing the example the "less or equal to 2%" condition is set in the current wizard:
See also: