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 / Power Apps - How can I...
Power Apps
Answered

Power Apps - How can I change the New and Edit forms

(0) ShareShare
ReportReport
Posted on by 13

Hi, I have a sharepoint list. In this list, I want the Name column to be View when creating a new listitem, that is, not editable. In the editing part of the listitem, I want the First Name part to be editable, and the Last Name part to be non-editable. I created two form screens as you can see below. In one, I make the Name part uneditable, and in the other, the surname part. On the right, I gave the necessary screens to the onNew and onEdit sections. But in the edit section, only the first screen, that is, the Name is not editable. I couldn't bring the other form.

 

Edit form screen:

as1.PNG

 

 

 

New form screen

as2.PNG

 

 

 

Capture.PNG

 

It just looks like this in both the Edit section and the New section. It needs to change in Edit and New

as3.PNG

 

How can i fix this?

 

Categories:
I have the same question (0)
  • AJ_Z Profile Picture
    3,711 Super User 2024 Season 1 on at

    Apologies if i am misunderstanding but if you want it invisible change the Datacard for the name column to make the visible false. if you want it the but want name greyed out. click the Datacardvalue inside the name column and make it DisplayMode.Disabled for its mode. If this is not what you are asking or you require a bit more guidance on a step please just reply 🙂

  • emreserper Profile Picture
    13 on at

    Hi @AJ_Z 

    I tried by making it disabled and still getting the same result.

    My problem is: My formscreen1 works fine when I press the New button in the list. When I select an item from the list and press edit, formscreen1_1 should work, but formscreen1 works again.

  • Verified answer
    v-xiaochen-msft Profile Picture
    Microsoft Employee on at

    Hi @emreserper ,

     

    Please check your onsave property .

    vxiaochenmsft_0-1640054232798.png

    This property determines which form to be submitted.

    In your screenshot, the submitted form is sharepointform1 instead of sharepointform1_1.

    You could use If() function to determine which form to be submitted.

     

    Best Regards,

    Wearsky

     

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    What might be a proposed If() function for this particular case? I would have assumed the OnSave with the SubmitForm() function would only be applicable once the appropriate form has opened and trying to save. I am having a similar problem in that Regardless of clicking the "+ New" (New item) button on clicking on an existing record (for Edit), it is still only opening the first form (SharePointForm1). Thanks

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 536

#2
WarrenBelz Profile Picture

WarrenBelz 426 Most Valuable Professional

#3
Haque Profile Picture

Haque 305

Last 30 days Overall leaderboard