Skip to main content
Altcraft Docs LogoAltcraft Docs Logo
User guide iconUser guide
Developer guide iconDeveloper guide
Admin guide iconAdmin guide
English
  • Русский
  • English
Login
    User documentationGetting StartedFAQAltcraft glossary
      Profiles and databasesarrow
    • Subscription resourcesManaging databasesSubscriber profileProfiles import and data updateScheduled customer data importAutomatic data collectionBulk customers profiles updateDouble opt-in subscriptionSuppression listsProfile relationsProfile history exportProfile exportCreating a static segment based on import resultsHow to open a CSV fileMatchingTypes of fields in the databaseGlobal control groupsSubscription Manager
      Communication channelsarrow
      • Email channelarrow
      • Email: ISP interactions best practices
          First mailingarrow
        • Quick StartEmail
        Email: sending domain configurationEmail: setting up and using postmasters
        Push channelarrow
        • Mobile Pusharrow
        • Settings & implementation
            Integrate your app with Altcraftarrow
          • Providers: push message structureProcessing and adding a subscriptionEvent registration
          First Mobile Push Mailing
          Web pusharrow
        • Preliminary Settings
            Web browser push configurationarrow
          • Firebase Cloud messagingApple SafariMozilla Services
          Connecting Web Push to a WebsiteTransferring Data to the PlatformWeb Push SDK Methods
            Import of subscriptions from third-party push servicesarrow
          • Migrating push subscriptions from third-party servicesHow to transfer push subscriptions configured for Safari?Migration from OneSignal
          First Web Push Mailing
        SMS channelarrow
      • SMS
      WhatsAppViber*™
        Telegramarrow
      • Telegram BotTelegram Group
        Maxarrow
      • MAX BotMAX Group
      NotifyCommunication Channels WorkflowРуководство: SMS-рассылка через VK NotifyРуководство: SMS-рассылка через УТШРуководство: push-рассылка через сервис от "Согласие"
      Segmentationarrow
    • Static SegmentsDynamic SegmentsUpdatable Segments
        Segmentation Conditionsarrow
      • Segmentation by Profile dataSegmentation by Interactions with EntitiesSegmentation by Activity of the channelSegmentation by external dataSegmentation by external SQL tablesSegmentation by Profile structure
      Best Send Time (BST)Logical operators "AND" and "OR"Recommendations for working with segments
      Message templatesarrow
      • Working with message templatesarrow
      • Working in the editorEmail-templateSMS templatePush templateMAX templateTelegram templateWhatsApp templateViber™ templateNotify template
        Visual editor for email-templatearrow
      • Visual editor interfaceAdding blocksElements and their settingsCustom blocksStyle managerLayer manager
      Template fragmentsImage galleryContent personalizationCreating tables based on array elementsBlock editor for email template
        Altcraft Variables and Functionsarrow
      • Logical expressions in messagesLoops in messagesMarket variables in templatesUsing the JSONPath functionality
        Dynamic content in messagesarrow
      • Dynamic HTML contentDynamic JSON contentContent from SQL database in templatesDynamic API content
      Importing and exporting a message templateImporting a template from a third-party serviceExporting a template from Pixcraft
      Mailingsarrow
    • Mailings calendarBroadcast mailingsRegular mailingTrigger mailingMultivariate testingMailing testingMailing schedulePlacement mailing
      Campaignsarrow
    • Working with CampaignsLocal control groups (LCG)Stratification Violation ErrorAudience expansionAudience building
      Automation scenariosarrow
    • Managing scenariosNodes of the scenarioClassic marketing scenariosStep-by-step welcome scenario guideScenario for automatic notification of the managerAbandoned cart scenario
      Marketarrow
    • Market settings
        Productsarrow
      • How to create a product manuallyHow to import a product from a fileScheduled product importProduct and SKU SegmentsPreparing the YML file
      OrdersMarket variables in message templateGuide: how to send an order confirmation email
      Loyalty programsarrow
    • Loyalty programsLoyalty integration with external systemsБыстрый стартBasic loyalty program use casesOrder SegmentsPromotion codes
      Reports and analyticsarrow
    • Channel reportTraffic report
        Summary reportarrow
      • Summary report metrics
      Cohorts reportLifetime reportFunnels reportGoals reportAudience growth reportClick map reportLoyalty programs reportBounces reportUndeliveries reportReport on global control groups
      Integrationsarrow
      • Action hooksarrow
      • Altcraft Action HooksAction hooks event typesAction Hook Message StructureJSON batch request (HTTP POST action hook)Message to RabbitMQ brokerMessage to RabbitMQ exchangerMessage to Kafka brokerTest event
        Integration of third-party services using Albatoarrow
      • Connecting Altcraft to Albato Launching the welcome scenario using AlbatoTransmitting event dataSetting app a trigger mailingEvent registrationGoogle Sheets and Altcraft integration AmoCRM and Altcraft integration
      Facebook Ads Manager™Google Ads AudiencesMAXYandex.Audience™VK Ads™Static segment synchronizationYandex AppMetrica™Tilda™Lpgenerator™WhatsAppViber*™ integrationIntegration scopeData Transmitted During SynchronizationNotify
      Weblayersarrow
      • Formsarrow
        • Create a formarrow
        • General settingsForm constructorAppearanceActions and form publicationConditional logic in forms and surveys
        Data analyticsBinding data channel and formsNPS testing
        Pixelsarrow
      • Goal customer actions and scoring
        Pop-upsarrow
      • Creating and publishing a pop-upSetting up a popup in the code editorManaging pop-ups manually via scriptPopup analyticsGuide: pop-up for push subscriptionsCase: Creating a pop-up with the "Wheel of Fortune" widgetBasic cases of placing a popup via the Tag Manager
        Tag Managerarrow
      • Configuring and installing Tag ManagerTrigger typesVariables typesLinking a pixel and the Tag manager
      Settingsarrow
    • Account settingsCustom linksVirtual sendersSending policiesAudit journalTags FAQ
        Users, groups and accessarrow
      • Two-Factor Authentication (2FA)
        Connectionsarrow
      • Connection to Facebook Ads ManagerConnection to Google AdsConnecting to Yandex.Audience™Connection to 360dialogConnection to EdnaConnection to Devino TelecomConnection to SMSTrafficConnection to VK Ads™Connection to MTS OmniChannelCustom Authentication ConnectionOAuth2 connectionBasic Authentication connectionToken Authentication connectionConnection to RapportoMAX connectionConnection to Notify
      Attribute settings
      API requests: where to startarrow
    • Import or update a profileTrigger mailing launchEngage profile in scenario
      Changelogarrow
    • v2026.1.76v2025.4.75v2025.4.74v2025.3.73v2025.2.72v2025.1.71v2024.4.70v2024.3.69v2024.2.68.2v2024.1.68
    Documentation archivelibrary
  • Weblayers
  • Forms
  • Create a form
  • Conditional logic in forms and surveys

Conditional logic in forms and surveys

Description​

Conditional paging logic allows you to customize the logic of transitions between form pages. Depending on the answers given by the user, you can change the order of displaying pages, as well as set the conditions for displaying a particular page.

How to set up form logic​

Activate logic​

Create a form and fill in the basic settings. After that, go to the Logic tab and activate the option by clicking on the toggler in the upper right corner.

Create form structure​

Go back to the Constructor tab. Create form pages and add the required elements:

info

Please note that you are configuring the logic for transitions between pages. In order for the user to go to the desired page after a certain answer to a question, it is necessary to create separate pages for each question, after which the transition will occur.

Working with logic​

Go to the Logic tab. All created pages will be displayed in a diagram:

To change the order of pages, drag the blocks with your mouse:

Select the start page by clicking on the page block and then clicking Make the start page of the chain. The start page can be any page in the form.

Adding conditions​

To add a condition block, click the button and select Condition:

Click on the condition block (diamond) and click Add a condition:

For one condition block, you can add several conditions at once. It is possible to check the user's response for meeting all conditions (All conditions) or for meeting at least one of them (At least one condition).

tip

To remove the entire condition block from the board, use the trash can icon in the upper right corner.

Condition types​

Yes/No​

Yes/No is the simplest condition. If the user gave a positive answer, they will go to one page; if negative — to another.

Example

One choice​

This element allows you to redirect the user to a specific page depending on the answer option they selected.

Example

Drop-down list​

The drop-down list allows the user to select one or more answer options from the proposed ones. You can customize the logic so that when certain options are selected, the user is taken to one page of the form, and when others are selected, they are taken to another page.

For a drop-down list with multiple choices, the following conditions are available:

  • One of — at least one of the answer options selected by the user matches the specified value
  • All — all answer options selected by the user match the specified value

Example

Range​

The user will go to a specific page depending on which range value they check. You need to select:

  • the value with which the user's response will be compared
  • the comparison operator (equal, greater than, less than)

Example

Linking blocks​

Link the form pages in the required sequence. Click and hold the icon on the block border and drag the line to the page the user should be taken to.

  • Gray line — transition between pages without conditions
  • Green line — transition if the user's answer matches the condition
  • Red line — if the condition is not met

To remove a link, click on the line and then on the icon :

Preview and publication​

You can check the form logic on the "Appearance" tab:

After checking, save the form. After that, you can publish it and use it on the website, or send the client a link to the form page in an email.

Last updated on May 4, 2026
Previous
Actions and form publication
Next
Data analytics
  • Description
  • How to set up form logic
    • Activate logic
    • Create form structure
    • Working with logic
    • Adding conditions
    • Condition types
      • Yes/No
      • One choice
      • Drop-down list
      • Range
    • Linking blocks
    • Preview and publication
© 2015 - 2026 Altcraft, LLC. All rights reserved.