
Announcements
I am not sure how to do this with the Notify function on the OnSuccess property in a form but I want the notification to display the auto-created ID number after a new form is submitted.
I've tried Notify("Form successfully submitted. ID is "& Form1.LastSubmit.ID, NotificationType.Success) but it only shows the text part and not the ID as well.
Hi @esang,
You could try storing the last submitted ID as a variable first, then reference that in your notify:
UpdateContext({cvLastSubmittedID: Form1.LastSubmit.ID});
Notify("Form successfully submitted. ID is "& cvLastSubmittedID, NotificationType.Success)Alternatively, if you want other information from the previously submitted form, you can bring the whole object back, then reference the ID
UpdateContext({cvLastSubmitted: Form1.LastSubmit});
Notify("Form successfully submitted. ID is "& cvLastSubmitted.ID, NotificationType.Success) Maybe try one of those approaches and see if it works for you?
------------------------------------------------------------------------------------------------------------------------------
If I've answered your question, please mark your post as Solved. You can accept more than one post as a solution.
If my response was a good one, please give it a Thumbs Up!
Visit my blog: https://platformsofpower.net