the condition key in the question is to handle if the question is valid to be asked or not, the question process suppose to be sequentially, so this will be good for custom conditional
conditional using abbreviation
eq as Equal
gte Greater Than or Equal
lte less than or equal
lt less than
neq not equal
in with the function like in('compare stirng', 'compare string')
coral config must be like this
...
- question:
slug: third
asking: some word
validation:
rule: *
message: ""
condition: first eq 'hello'
...
This need to be added on sessions too
if the condition is not meet, the data on sessions must be included but with value null
the
conditionkey in thequestionis to handle if the question is valid to be asked or not, the question process suppose to be sequentially, so this will be good for custom conditionalconditional using abbreviation
eqas EqualgteGreater Than or Equallteless than or equalltless thanneqnot equalinwith the function like in('compare stirng', 'compare string')coral config must be like this
This need to be added on sessions too
if the condition is not meet, the data on sessions must be included but with value null