Share via

SharePoint Power Form HELP!

Read, Alex 1 Reputation point
2021-09-10T11:03:25.443+00:00

Hi Everyone.

Please help!

I have a form from a SharePoint list that i have created 4 tabs on. I want a formula that hides some fields if 2 of the tabs are selected. Im trying to use the 'Visible' formula but when im putting multiple if statements in its not working. Please could you tell me whats wrong below:

Visible = If(varformtab="Details2",false,true),if(varformtab="Details",false,true)

Microsoft 365 and Office | SharePoint | For business | Windows
0 comments No comments

1 answer

Sort by: Most helpful
  1. JoyZ 18,131 Reputation points
    2021-09-13T02:20:22.79+00:00

    @Read, Alex ,

    We can use the || or Or operator in power apps to meet your requirement.

    Try as following:

    If(  
        varFormTab = "Details2" || varFormTab = "Details",  
        false,  
        true  
    )   
    

    More information about Operators and Identifiers in Power Apps for your reference:

    https://learn.microsoft.com/en-us/powerapps/maker/canvas-apps/functions/operators


    If an Answer is helpful, please click "Accept Answer" and upvote it.

    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.

    Was this answer helpful?


Your answer

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