Hello everyone,
What is the return value of SubmitForm ? by means to have the result it is succeeded or not ? I have a condition whereby if it is not succeeded, for example because validation failed like one of the required field still left empty, then there is other formula next to the said "SubmitForm" that I do not want to be executed.
So I need to have the result value of this SubmitForm function, for the condition of next formula.
Thanks.
Thank you both.
Hi @Axal
1. LastSubmit gives full information including unique id that generated
Formname.LastSubmit.
after the dot, you have all column(s) to retrive
2. Another option ClearCollect(ColLastItem, Submitform(FormName));
ColLastItem has all information
#1 can be used on the same button click or OnSuccess
#2 used only on the same button event where you submitted
SubmitForm will trigger the OnSuccess or OnFailure event of the form object. You would write your code in those events.