Hello!
With the `write` keyword it is possible to set callback code for question set.
Is it possible to execute this callback only if some condition is satisfied?
I've tried to use `disableif` statement, but:
1) This doesn't do anything:
```
numeric
varid = FormData.NumericValue,
prompt = STRING_TOKEN(NUMERIC_PROMPT),
help = STRING_TOKEN(NUMERIC_HELP),
flags = NUMERIC_SIZE_2,
minimum = 0x0,
maximum = 0xffff,
step = 1,
disableif (get(FormData.CheckboxValue) == 1);
write
set(FormData.OneOfValue, 0x55);
endif;
endnumeric;
```
2) and this doesn't compile:
```
numeric
varid = FormData.NumericValue,
prompt = STRING_TOKEN(NUMERIC_PROMPT),
help = STRING_TOKEN(NUMERIC_HELP),
flags = NUMERIC_SIZE_2,
minimum = 0x0,
maximum = 0xffff,
step = 1,
disableif (get(FormData.CheckboxValue) == 1);
write
set(FormData.OneOfValue, 0x55);
endif;
endnumeric;
```
Best regards,
Konstantin Aladyshev