Back to the blog
SAPP Blog

Conditional fields in Bitrix24 CRM forms: checking which questions are displayed

Delivery requires an address; collection requires a collection point. Showing everything at once makes the form longer and collects unnecessary data. Conditional fields help ask the appropriate questions, but the rules must be tested in every branch.

First create a table of branches

Describe the user’s answer and the field that should appear after it. Start with one simple condition: delivery or collection. For each option, define the minimum information required and a clear field label.

Do not add branches merely to demonstrate the feature. Every question should help fulfil the customer’s request. If the form asks for internal information that visitors do not know, it is better to clarify it later.

For the next step, use a separate instruction: Bitrix24 CRM forms: fields, consent and lead assignment.

Configure the agreed rules

CRM forms have field display rules: the value of one field can determine whether another appears. When there are several conditions, establish in advance whether any one is sufficient or all are required.

Check which fields are visible for the other values. A rule for one answer may hide a field in all other cases. Do not consider the absence of a question a fix until the other form scenarios have been tested.

For the next step, use a separate instruction: Why website inquiries do not reach Bitrix24.

Test switching and data submission

Check the initial state, every choice, returning to a previous answer and changing a value after completion. Check required questions separately: visitors must understand what is needed and be able to complete the appropriate branch.

For technical acceptance, agree on an internal data check without contacting real customers. Verify which values are saved in CRM when switching branches. Do not claim that hiding a question guarantees the deletion of previously entered data.

Procedure

  1. Create a table of answers and fields.
  2. Define the required fields for each branch.
  3. Configure the display rules.
  4. Check the initial state and switching between options.
  5. Check the saved fields against the selected scenario.

What to check at each stage

Stage or situationCheck and action
Stage or situationDeliveryCheck and actionShow the delivery address
Stage or situationCollectionCheck and actionShow the selection of available collection points
Stage or situationNo answer selected yetCheck and actionClear initial state
Stage or situationThe user changed their answerCheck and actionCheck visibility and saved data
  1. 01
    Customer’s answer
  2. 02
    Display rule
  3. 03
    Visible questions
  4. 04
    CRM data
Customer’s answer → Display rule → Visible questions → CRM data.

An illustrative example and constraints

Illustrative example: a materials order form asks how the order will be received. Delivery requires an address; collection requires a collection point. Testing revealed that changing the answer left the old value in another field. The team clarified data handling before considering the rules ready.

Conditional visibility does not replace checks of data and consent. Do not promise that hidden values are cleared automatically: you need to check this in your own form. For complex branches, it is better to simplify the process first.

If you need to review settings and agree on changes to your portal, see the service Bitrix24 support and development. Provide the scenario description, expected result and discrepancy found.

Results checklist

  • There is a table of branches
  • The initial state has been checked
  • Required fields have been checked
  • Changes to the answer have been tested
  • The data in CRM is clear

Frequently asked questions

Does every form need conditional fields?

No. They are useful when different answers require different additional information.

Why does a question disappear?

Check the rule and every value of the field it depends on.

Does a hidden question mean its value has been deleted?

Not necessarily. Data persistence must be checked separately.

How can you check complex conditions?

Break them down into a table of branches and test each one, including switching back.

Let us discuss your work scenario

Tell us what needs to be configured in Bitrix24 and which result the team needs. We will define the next step and scope of work.

Describe the situation, expected result and checks already performed. Do not include passwords or access keys.