How do I add a comment to the submitEmail button for the sender like, "Thank you for your submission."
Don't I add it to the postSubmit event of the button? And how?
You can use a messageBox to display the message to the user. On the Button that you click to send the email, choose the postSubmit event. Then enter this code into the editor:
xfa.host.messageBox("Thank you for your submission....")