I am currently using REST API to get list items and display them on HTML via a Content Editor Web Part. We have the list hidden and do not wish to allow users access to it.
On there we have the following code to display a button if no item exists for the current user:
I am looking for a way to refresh the home page when the form is submitted. Currently when no item exists the button displays and when the form is submitted it still displays the button to NewForm.aspx.
I want the page to reload and display the item contents with another button to the EditForm.aspx