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 / The function expects a...
Power Apps
Unanswered

The function expects an editable form as its input

(0) ShareShare
ReportReport
Posted on 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

Categories:
I have the same question (0)
  • Ami K Profile Picture
    15,689 Super User 2024 Season 1 on at

    @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 

     

     

  • LaurensM Profile Picture
    12,516 Moderator on at

    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!

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

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 329 Most Valuable Professional

#2
11manish Profile Picture

11manish 209 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 179

Last 30 days Overall leaderboard