How do you assign site member author functionality to delete button?

We are so close!!


The delete button is hidden still, but I’m receiving no coding errors.

Do you want it be hidden? Or shown? And when?

I want it to be hidden for the posts that are not the owners posts, and show only on the posts for the owner! In other words, I do not want a delete button to show up for a post that the owner didn’t post.

Right now the post labled “Delete Test” is done by a member and the “investPENSACOLA” post is done by me, the admin. I’m logged in under the member that posted the “Delete Test” and I’m trying to get a delete button to show on that post but not the investPENSACOLA post

So you want each owner to be able to delete his/her own posts? By showing the delete button, right?

If that’s the case, then the code is doing exactly what you want, what’s the problem, I don’t get it :thinking:

So the problem right now is I’m logged in under “Barbara White”. This is a member with a subscription. Under “Barbara White” I posted the “Delete Test” post. The other post “investPENSACOLA” was made by me under my admin login “James White”. While logged in under “Barbara White” I can’t see the delete button on the “Delete Test” post.

But the screenshot really shows the delete button in Barbara’s test post, did you take the screenshot while you’re logged in as her, or as yourself?

There is no delete button showing? The name of the post is “Delete Test”. The detel button is white and should be in the upper right hand corner. I took the screenshot logged in as her.

Is that all of the code? There might be something that prevents the code from complete? Why it’s connected to the dataset?

That’s the only code I have for this page! It’s connected to a dataset to give the “delete” action. It’s connect to my “ideas” dataset.

Wait it’s working now!!!

Really :joy::joy: What have you done? Did you change anything? I told you the code is correct.

Maybe it’s editor caching, sometimes the changes you make doesn’t appear when you preview.