I am using the Online Form web part to display a custom form on a website. In the web part customization settings, I have set it up to be an AJAX form so that the user can submit the form without reloading the page.
I am wondering if there is a way to add a programmatic event to happen at the time of form submission. After the form is submitted, I would like to create a cookie to use to hide the form if a user has already submitted it during their session.
You could add some javascript to do what you're looking for. Otherwise you can create a custom event after the form is submitted.
Please, sign in to be able to submit a new answer.