I have a checkbox that I need to disable based on multiple values in a library. Here is my scenario. I have a SharePoint library (SPLibrary) with a column named "Category". This column is used to store attachments for my app. For example, on submission could be for a category of "Paper". Another could be for a category of "Products". The variable, varSubmissionID, is set on app start is is basically the submission from the current logged in user. That is how I am matching up records.
This works fine for the first category but it is not looping through the entire library.
If(LookUp(SPLibrary, ID=varSubmissionID).Category<>"Product" && LookUp(SPLibrary, ID=varSubmissionID).Category<>"Paper",Disabled,Edit)
I need to be able to disable this control if both conditions are not met. Is this possible?