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

Community site session details

Session Id : z5IdS8TbEZabzqKIMcCL8z
Power Apps - Building Power Apps
Unanswered

The function expects an editable form as its input

Like (0) ShareShare
ReportReport
Posted on 14 Jan 2024 16:57:11 by

The save button Fx = SubmitForm(Gallery1). It says form is not editable. Display mode is Edit. Why is this an error?

Screenshot (1).png

  • LaurensM Profile Picture
    12,510 Moderator on 14 Jan 2024 at 17:13:07
    Re: The function expects an editable form as its input

    Hi @KenCloud😊

     

    SubmitForm expects an 'Edit form' as control, the current input of your function is a gallery (used for displaying data). It seems that you may have skipped certain steps in the Coffee Machine learning path, you can find the Canvas App Coffee Machine training here. Make sure to go through all the steps in chronological order.

     

    Please note that the Coffee Machine Canvas App learning path is part of the App in a Day training course. Although not required in order to make the Learning Path, you could register for one of the AIAD instructor-led trainings via the 'Register for an event' link here. The link also showcases the other sections within that training track (Model-driven apps, Dataverse & Power Automate).

     

    If this solves your question, would you be so kind as to accept it as a solution & give it a thumbs up.

    Thanks!

  • Ami K Profile Picture
    15,665 Super User 2024 Season 1 on 14 Jan 2024 at 17:12:38
    Re: The function expects an editable form as its input

    @KenCloud - We use the SubmitForm function to create items or save changes to existing items to the data source from an Edit Form control, not a Gallery control.

     

    https://learn.microsoft.com/en-us/power-platform/power-fx/reference/function-form 

     

    https://learn.microsoft.com/en-us/power-apps/maker/canvas-apps/controls/control-gallery 

     

     

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

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 791 Most Valuable Professional

#2
MS.Ragavendar Profile Picture

MS.Ragavendar 410 Super User 2025 Season 2

#3
mmbr1606 Profile Picture

mmbr1606 275 Super User 2025 Season 2

Loading complete