Infopath hide Dropdown List option based on another dropdown list option selection

SP Dev 6 Reputation points
2022-06-28T15:27:30.98+00:00

Hello I have the following two dropdown below:

215824-sp.png

Whenever I select an option in the work unit option for example if the drop down in work unit has: home, office, other.

If someone select Home, I want a few options in work address to be hidden. Lets say for example Work address has the following options: 1, 2, 3, ,4etc

I want 1 and 2 and 3 to be hidden when home is selected.

Any help will be appreciated.

SharePoint Server Management
SharePoint Server Management
SharePoint Server: A family of Microsoft on-premises document management and storage systems.Management: The act or process of organizing, handling, directing or controlling something.
2,961 questions
{count} vote

1 answer

Sort by: Most helpful
  1. Xuyan Ding - MSFT 7,581 Reputation points
    2022-06-30T05:25:19.513+00:00

    Hi @SP Dev ,

    You need to create two lists so that when you set the criteria later, you can filter address in the "work address" drop-down list based on the selected unit.

    1. Work Unit – List of unit – Parent List for "Work Address" list’s 'work unit' column.
    2. Work Address -List of address with 'work unit' as lookup column from “Work Unit” list.

    Please refer to the specific process: Cascading Dropdown in SharePoint List using InfoPath Forms
    Note: Microsoft is providing this information as a convenience to you. The sites are not controlled by Microsoft. Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. Please make sure that you completely understand the risk before retrieving any suggestions from the above link.


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    1 person found this answer helpful.

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.