Hi, @adil
You could use cutom code(Rest API) to check when the same logged-in user already created a list of items.
Using the rest api to get the listitems created by current user, alert message if the items.length >0, for example:
var userId = _spPageContextInfo.userId;
var requestUri = _spPageContextInfo.webAbsoluteUrl + "/_api/Web/Lists/getbytitle('ListName')/Items?$filter=AuthorId eq " + userId;
$.ajax
({
url: requestUri,
type: "GET",
headers: {
"ACCEPT": "application/json;odata=verbose"
},
success: function (data) {
if ($(data.d.results).length == 0) { }
else { //popup message here }
},
error: function () {
}
});
If an Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.