Hello
@SS-18011732-0,
The submit button not working in a Canvas App form is usually a configuration issue.
Please check the following:
Submit button OnSelect
Make sure the Submit button OnSelect property is set to:
SubmitForm(Form1)
If it only contains Navigate() or is blank, the form will not submit.
Form mode
If this is a “Submit New Task” screen, ensure the form is in New mode.
Set the screen OnVisible property to:
NewForm(Form1)
Without this, the form may not create a new record.
Microsoft documentation (SubmitForm and NewForm):
EditForm, NewForm, SubmitForm, ResetForm, and ViewForm functions
Form DataSource
Confirm that Form1.DataSource is set to the correct table (for example Task_Samples) and that the data source connection is active.
Microsoft documentation (Edit form control):
Edit form and Display form controls in Power Apps
Required fields
If any required fields are empty (including hidden ones), submission will fail.
Check that all required fields are present and that Form1.Valid is true.
Add success and failure handling for debugging
Form1 OnSuccess:
Notify("Task submitted successfully", NotificationType.Success);
ResetForm(Form1)
Form1 OnFailure:
Notify("Submission failed", NotificationType.Error)
Microsoft documentation (Notify function):
Notify function
In most cases for a newly created screen, the issue is that NewForm(Form1) was not added to the screen OnVisible property.