question

ReadAlex-7746 avatar image
0 Votes"
ReadAlex-7746 asked JoyZ commented

SharePoint Power Form HELP!

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)

office-sharepoint-online
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

JoyZ avatar image
0 Votes"
JoyZ answered JoyZ commented

@ReadAlex-7746,

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://docs.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.


· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@ReadAlex-7746,

Do you have any progress on this issue?

Please remember to update this thread if you need further assistance.

0 Votes 0 ·

@ReadAlex-7746,

Is there any progress on this issue?

Please feel free to reply.

0 Votes 0 ·