Does my datavaluecard have to be a dropdown for me to do this?

If( ThisItem.Status.Text = 'Submitted', DisplayMode.Disabled, DisplayMode.Edit)

I cant seem to get the "Status" column to = Submitted statement to be without error.

  • Just remove the .Text part if it is a text field Commented May 2, 2022 at 13:26
  • Im still getting an incompatible types for comparison. What could be wrong here?
    – Jonnyboi
    Commented May 2, 2022 at 13:29
  • Use double quotes around the word "Submitted", like this example If(ThisItem.Title = "Submitted", DisplayMode.Disabled, DisplayMode.Edit) Commented May 2, 2022 at 13:33

1 Answer 1


Remove the .Text part and use double quotes around the value (Submitted), like this:

If(ThisItem.Title = "Submitted", DisplayMode.Disabled, DisplayMode.Edit)
  • thanks.. so simple!
    – Jonnyboi
    Commented May 2, 2022 at 13:41

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.