The save button Fx = SubmitForm(Gallery1). It says form is not editable. Display mode is Edit. Why is this an error?
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!
@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
WarrenBelz
791
Most Valuable Professional
MS.Ragavendar
410
Super User 2025 Season 2
mmbr1606
275
Super User 2025 Season 2