---
title: Conditional logic
description: Conditional logic is used with the Multiple choice Data type when Admin wants to hide or show questions depending on the Crews answers.
---

[Skip to content](https://help.liveforce.co/en/admin/conditional-logic#main-content)

[![Liveforce](https://help.liveforce.co/hs-fs/hubfs/Liveforce-logo.png?width=122&height=24&name=Liveforce-logo.png)](https://liveforce.co/)

Open main navigation

Close main navigation

- [Log In](https://admin.liveforce.co/)

[Log In](https://admin.liveforce.co/)

 Admin Knowledge Base

- There are no suggestions because the search field is empty.

1. [Admin App](https://help.liveforce.co/en/admin?hsLang=en)
2. [Profiles](https://help.liveforce.co/en/admin/profiles?hsLang=en)
3. [Data](https://help.liveforce.co/en/admin/profiles?hsLang=en#data)

February 25, 2025

# Conditional logic

## Conditional logic is used with the Multiple choice Data type when Admin wants to hide or show questions depending on the Crews answers.

<iframe src="https://player.vimeo.com/video/957882864?app_id=122963" width="426" height="240" frameborder="0" allow="autoplay; fullscreen; picture-in-picture; clipboard-write" title="Conditional Logic" style="position: absolute; top: 0px; left: 0px; width: 100%; height: 100%; border: none;"></iframe>

Admins can use Conditional Logic when collecting Data from Crew. Conditional logic is used with the Multiple choice Data type when Admin wants to hide or show questions depending on the Crews answers.

In this scenario we are going to ask for a Share code in the Profile Compliance section. Share codes are used in the UK as a personal identifier that proves a worker’s immigration status.

Admin navigates to the Profile Data page, opens the Compliance section, and adds the Data type, Multiple choice. 

They add a title, in this case ‘Do you have a Share Code?’ add a description if needed, and a couple of options for Crew to select.

![1.multiple-choice](https://help.liveforce.co/hs-fs/hubfs/1.multiple-choice.jpg?width=688&height=599&name=1.multiple-choice.jpg)

*Multiple choice data type*

Admin then adds another Data type, the Short answer. This is the Linked field that is going to display if the Crew has a Share code.

Admin adds the field title and access control permissions and clicks the Next button.

![2.short-answer-1](https://help.liveforce.co/hs-fs/hubfs/2.short-answer-1.jpg?width=688&height=596&name=2.short-answer-1.jpg)

*Short answer data type*

Under the ADVANCED SETTINGS tab, Admin toggles the conditional logic button to on and selects to show this field when the answer to the linked field is YES.

The Crew will then be able to input their Share code, if the answer to the previous field was NO, then this field will not show.

![3.toggle](https://help.liveforce.co/hs-fs/hubfs/3.toggle.jpg?width=688&height=621&name=3.toggle.jpg)

*Conditional logic toggle*

![4.value](https://help.liveforce.co/hs-fs/hubfs/4.value.jpg?width=688&height=503&name=4.value.jpg)

*Short answer value*

Admin closes the pop-in and publishes the changes.

![5.publish-changes-1](https://help.liveforce.co/hs-fs/hubfs/5.publish-changes-1.jpg?width=688&height=533&name=5.publish-changes-1.jpg)

*Publish changes*

When Crew visit their profile they will see the Share code field in their Compliance section.

If they choose the NO option then the second data field doesn’t display.

![6.no-chosen](https://help.liveforce.co/hs-fs/hubfs/6.no-chosen.jpg?width=688&height=400&name=6.no-chosen.jpg)

*Crew answer NO*

If Crew chooses the YES option then the second field displays. Crew would then enter their Share code and SAVE their Data.

![7.yes](https://help.liveforce.co/hs-fs/hubfs/7.yes.jpg?width=624&height=724&name=7.yes.jpg)

*Crew answer YES*

- [Training Academy](https://help.liveforce.co/en/admin/training-academy?hsLang=en)
- [The Basics](https://help.liveforce.co/en/admin/the-basics?hsLang=en)
- [Boards](https://help.liveforce.co/en/admin/boards?hsLang=en#main-content)

    - [Timezones](https://help.liveforce.co/en/admin/boards?hsLang=en#timezones)
- [Job Scheduling](https://help.liveforce.co/en/admin/job-scheduling?hsLang=en#main-content)

    - [Multiple Day Jobs](https://help.liveforce.co/en/admin/job-scheduling?hsLang=en#multiple-day-jobs)
    - [Basics](https://help.liveforce.co/en/admin/job-scheduling?hsLang=en#basics)
    - [Managing](https://help.liveforce.co/en/admin/job-scheduling?hsLang=en#managing)
- [Job Fulfilment](https://help.liveforce.co/en/admin/job-fulfilment?hsLang=en#main-content)

    - [Methods](https://help.liveforce.co/en/admin/job-fulfilment?hsLang=en#methods)
    - [Multi Day Jobs (1)](https://help.liveforce.co/en/admin/job-fulfilment?hsLang=en#multi-day-jobs-1)
    - [Portfolio Sharing](https://help.liveforce.co/en/admin/job-fulfilment?hsLang=en#portfolio-sharing)
    - [Basics](https://help.liveforce.co/en/admin/job-fulfilment?hsLang=en#basics)
- [Workforce Management](https://help.liveforce.co/en/admin/workforce-management?hsLang=en#main-content)

    - [Managing](https://help.liveforce.co/en/admin/workforce-management?hsLang=en#managing)
    - [Profiles](https://help.liveforce.co/en/admin/workforce-management?hsLang=en#profiles)
    - [Tags](https://help.liveforce.co/en/admin/workforce-management?hsLang=en#tags)
- [Status Page](https://help.liveforce.co/en/admin/status-page?hsLang=en)
- [Communications](https://help.liveforce.co/en/admin/communications?hsLang=en)
- [Tables](https://help.liveforce.co/en/admin/tables?hsLang=en)
- [Platform Set Up](https://help.liveforce.co/en/admin/platform-set-up?hsLang=en#main-content)

    - [General](https://help.liveforce.co/en/admin/platform-set-up?hsLang=en#general)
    - [Workforce Configuration](https://help.liveforce.co/en/admin/platform-set-up?hsLang=en#workforce-configuration)
- [Profiles](https://help.liveforce.co/en/admin/profiles?hsLang=en#main-content)

    - [Settings](https://help.liveforce.co/en/admin/profiles?hsLang=en#settings)
    - [Reports](https://help.liveforce.co/en/admin/profiles?hsLang=en#reports)
    - [Data](https://help.liveforce.co/en/admin/profiles?hsLang=en#data)
- [Timesheets and Payments](https://help.liveforce.co/en/admin/timesheets-and-payments?hsLang=en)
- [Invoicing](https://help.liveforce.co/en/admin/invoicing?hsLang=en#main-content)

    - [Payment Reports](https://help.liveforce.co/en/admin/invoicing?hsLang=en#payment-reports)
    - [Getting Started](https://help.liveforce.co/en/admin/invoicing?hsLang=en#getting-started)
    - [Approval Process](https://help.liveforce.co/en/admin/invoicing?hsLang=en#approval-process)
    - [Invoicing Section](https://help.liveforce.co/en/admin/invoicing?hsLang=en#invoicing-section)
    - [Invoicing Submission Types](https://help.liveforce.co/en/admin/invoicing?hsLang=en#invoicing-submission-types)
- [Contact Support](https://help.liveforce.co/en/admin/contact-support?hsLang=en)
- [FAQs](https://help.liveforce.co/en/admin/faqs?hsLang=en)

[![Liveforce logo](https://help.liveforce.co/hs-fs/hubfs/Liveforce-logo.png?width=122&height=24&name=Liveforce-logo.png "Liveforce logo")](https://liveforce.co/)

Admin App | Knowledge Base

<https://www.youtube.com/@Liveforce> <https://www.linkedin.com/company/liveforce> <https://www.instagram.com/liveforceapp/> <https://www.facebook.com/Liveforce/>