Data validation

Data validation is a fundamental functionality that ensure clean and quality data collection. One of the big differentiators in Sopact Sense is the ability to configure advanced validation rules so you can collect the data exactly the way you want.

Let us look at how,

1. Configuring basic validations

Configuring basic validations is super simple and is done at the time of the question creation. Based on the type of question different options show up.

For example:

Number field type can have min and max values and the field itself is restricted to accept only numeric information, like so

Validation_1_numeric.png

For TextField, we can restrict it to accept only alphabets (for example, when asking for a person's name) or it could be alphabets and number combination. We may also restrict the number of characters allowed, like so

Validation_2_text_field.png

2. Advanced validations

Advanced validations let us do a lot more. For example, if we want to restrict a field to be a number and accept only certain dedimal places. We can do so by using this rule

decimal:0,2

This will accept response such as

1.24 100.0 200

but not 1.37683 (contains more than 2 decimal places)

To use this rule, just paste it in the validation text box, like so

Validation_3_advanced.png