web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Edit form editable for...
Power Apps
Unanswered

Edit form editable for some users from approvers list based on Title field value attached steps

(0) ShareShare
ReportReport
Posted on by 2,249

Veblitz_0-1670004588560.png

 

I am trying to make the Edit form to be "Editable" for some amount of users when the Status column value is set to "Approved"

 

I am making individual data cards in  Edit form to "Read-Only".

 

I have made a test on my side, please consider and this is not working as expected :

I tried unlock each data card in my Edit form, set the DisplayMode property of data card to following:

If(
ThisItem.Status.Value = "Approved" && IsBlank(user1),
DisplayMode.Disabled,
DisplayMode.Edit
)

 

Approval List 

 

Title (single line of text)           Name(person field)

Users                                         John

HR                                       Jim

Categories:
  • Tolu_Victor Profile Picture
    197 Super User 2024 Season 1 on at

    Is the Status field a choice column.

    If it is, convert to text before comparing. See code below
     

     

    If(
    Text(ThisItem.Status.Value) = "Approved" && IsBlank(user1),
    DisplayMode.Disabled,
    DisplayMode.Edit
    )

     

    -------------------------------------------------------------------------
    If I have answered your question, please mark your post as Solved.
    If you like my response, please give it a Thumbs Up.

     

  • Al_10 Profile Picture
    1,691 Super User 2024 Season 1 on at

    @Veblitz 

     

    If(ThisItem.Status.Value = "Approved" && Isuser1,
     DisplayMode.Edit,
     DisplayMode.Disabled
    )
  • Tolu_Victor Profile Picture
    197 Super User 2024 Season 1 on at

    Ok. Use this then

    If(Text(ThisItem.Status.Value) = "Approved" && Isuser1,
     DisplayMode.Edit,
     DisplayMode.Disabled
    )
  • Veblitz Profile Picture
    2,249 on at

    Unfortunately, i did several tries but no luck

     

    List of below codes exists for the same

    Onstart property

    Set(currentUser,User());
    Set(Isuser,IsBlank(LookUp(Approvers,Name.Email =currentUser.Email && Title="HR")));
    Set(Isuser1,IsBlank(LookUp(Approvers,Name.Email =currentUser.Email && Title="Users")));

     

    display mode of data card

    If(
    Text(ThisItem.Status.Value )= "Approved" && IsBlank(LookUp(ApprovalUsers, ApproverEmail = User().Email)),
    DisplayMode.Disabled,
    DisplayMode.Edit
    )

     

    List schema approvers

     

    Title(single line of text)       Name(person field)

    HR                                          Jim

    Users                                       joe

     

  • Tolu_Victor Profile Picture
    197 Super User 2024 Season 1 on at

    What is the error. Can you send a screenshot

     

  • ThommyPrez Profile Picture
    43 on at

    .

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 236 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 207 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 169

Last 30 days Overall leaderboard