Hi,
When I run a test on my form, my form does not submit. I know this because when I check my Microsoft List, the submission details do not appear.
My code for the submit button is: SubmitForm(EditForm1)
My form is called EditForm1
- I also want to create a popup/indication that the form has been submitted
Solved! Go to Solution.
Hi @Anonymous
As Warren mentioned, use OnSuccess and onFailure on the form to notify. By default, OnSuccess property is Back() and OnFailure is false for Form.
Find the below screenshot for reference
If you like this post, give it a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users to find it.
Hi @Anonymous ,
Firstly from what you have posted, that is the correct code for submitting a form - do you get an error (there will be a red X above the submit button after submitting when you go back to Design Mode).
Also for a message on form submission, put a Notify() on the OnSuccess of the Form. You can also put one OnFailure if you want to see if it did not submit.
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.
Hi @Anonymous
As Warren mentioned, use OnSuccess and onFailure on the form to notify. By default, OnSuccess property is Back() and OnFailure is false for Form.
Find the below screenshot for reference
If you like this post, give it a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users to find it.
I was able to figure it out, it was saying that the "Title" is required, so I was able to fill that in.
Thank you!
Hi @Anonymous
Capture the error in the variable on the form failure
OnFailure: Set(
formerror,
First(
Errors(
'Aisle Assignment',
EditForm1.LastSubmit
).Message
)
);
and display it on the label
Or Notify
Form OnFailufre: Notify(
First(
Errors(
'Aisle Assignment',
EditForm1.LastSubmit
).Message
).Message
);
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.
User | Count |
---|---|
187 | |
52 | |
51 | |
36 | |
33 |
User | Count |
---|---|
283 | |
97 | |
90 | |
82 | |
77 |