Odometer
A question of type odometer Allows the user to enter a number that represents the mileage of a vehicle.
Answer Options
This chapter describes the option possibilities for an answer.
Name | Type | Description | Required | Default |
|---|---|---|---|---|
minValue | double | The minimum value the answer should be | false | 0.0 |
maxValue | double | The maximum value the answer can be | false | 9999999.0 |
minLength | int | The minimum length the answer should be | false | 0 |
maxLength | int | The maximum length the answer can be | false | 0 (unlimited) |
decimals | int | The number of allowed decimals | false | 0 |
autoFill | bool | Whether to auto-fill the input with the previous mileage | false | true |
saveToPref | bool | Whether to save the entered mileage to preferences | false | false |
diffWarning | int | The mileage difference threshold for showing a warning | false | 1000 |
requireHigherMileage | bool | Whether the entered mileage must be higher than the previous value | false | false |
