Product CMS Admin

FormsChatbotChatbot TestTeamleaderCategoriesQuestionsChoicesQuote Groups

Edit Question

Update question information and dependencies

Question Details
Configure the basic information for this question

Hidden questions are not shown on the form but can be added to Quote Groups. They use their default choice/value for pricing. Useful for mandatory items that should appear on every quote.

Validation Rules
Configure validation rules for this field. These will be enforced when users fill out the form.

Single choice questions support basic required/optional validation.

Dependencies
Configure when this question should be shown based on other answers

• Dependencies allow you to show questions conditionally

• Select a question to make this question dependent on it

• Optionally select a specific choice to make it more specific

Default Options
Set default selections/values that will be pre-filled when the form is rendered

This choice will be pre-selected when the form loads

Custom Fields for Choices
Define custom fields that choices for this question can have. These fields will appear when creating/editing choices.

Field 1

Internal identifier (camelCase)

Display label for users

Formula Variables
Define variables that can be used in JavaScript formulas. These map to question values or choice custom fields.

Variable Naming Rules:

  • Must start with a letter or underscore
  • Use UPPERCASE with underscores (e.g., PRICE_PER_CM)
  • Only letters, numbers, and underscores allowed
  • Variable names are case-sensitive

Select a custom field defined for choices in the referenced question

JavaScript Formula Editor
Write JavaScript expressions using the variables defined above. Use AI to generate formulas or test them with the preview.
Loading...

Write a JavaScript expression that returns a number. Use variable names directly (they are in scope). Press Ctrl+Space for autocomplete.

Available Variables:

h2_leuningenquestionValue
Question:h2-leuningen
h1_witquestionValue
Question:h1-standaard-wit
btw_tariefchoiceField
Field:btwTarief

Hover over variables in the editor to see descriptions. Use these names directly in your formula.

Formula Examples:

  • PRICE_PER_CM * TOTAL_LENGTH - Simple multiplication
  • NUMBER_OF_RAILINGS < 3 ? 75 : 0 - Conditional (ternary)
  • PRICE_PER_CM * TOTAL_LENGTH + CARRIER_PRICE * NUMBER_OF_CARRIERS + (NUMBER_OF_RAILINGS < 3 ? 75 : 0) - Complex formula
  • Math.round(PRICE_PER_CM * TOTAL_LENGTH * 100) / 100 - With Math functions
Related Choices
Choices available for this question
2 items
Minder dan 2 jaar

FIXED - €0

FIXED
Ouder dan 2 jaar

FIXED - €0

FIXED
Choices & Pricing
All choices for this question with their pricing configuration

Minder dan 2 jaar

FIXED€0

Ouder dan 2 jaar

FIXED€0