Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

A configurator page consists of questions, each are of a question type for different presentation and processing. There are built-in question types and you can add custom types. While overriding templates for question views and writing custom CSS for questions enables you to make extensive customisations, you can also add entirely new question types.

...

While the user interacts on a configurator page, the CB framework triggers JavaScript events that and each question type reacts on these events (e.g. changes to the current user selection, activation or deactivation of a question, displaying a validation message etc). To make your question type react, you create a JS Question Type Object that contains callback functions for these events and register it using a framework function. See the full details in JS question type object.

...