During data collection, CSEntry will show refused values in extended controls
by default, just as it displays other values defined in a value set. However, to make it harder for an operator to select a refused value, it is possible to turn off
the default displaying of refusals. If turned off, the operator must select CSEntry's Show Refusal Options
menu option to see any defined refused values.
As with other special values, the number defined as refused cannot be used in logic comparisons. For example, if TRIBE has the value -99 defined as refused, then in logic:
Advanced users may want to have more control over when a refused value can be entered. If a function is defined in logic with the name OnRefused
, CSEntry will call this function every time a refused value is selected. If the function returns 0
), then the function will prevent the entry of that refusal. For example: