Small decisions. Interesting possibilities.Submit contentSubmit

JevForm

A form changes its next question dynamically instead of relying on a large fixed if/then tree.

Added to Jevfast

How it uses Jev

After each form answer, Jev judges which question should come next. json-render supplies the interface and XState manages the form's state.

App workflow

  1. Capture an answer

    The form records the user's response in its state.

  2. Choose the next question

    Jev judges what to ask next using the answer and current form state.

  3. Update the form state

    XState manages the resulting state transition.

  4. Render the next step

    json-render supplies the form interface for the selected next question.

Why it is interesting

It uses a typed decision to choose the next form question while keeping interface rendering and state transitions in separate tools.