Setting a limitation on the number of posts Answered

Post author
Jesse S

Hi! I have a question - is there any simple way to add an "Edit Post" button that will hide the "Create Post" button if a user already has a post? I currently use the "data-ms-content = members/!members" to show / hide the two current buttons, but I'd like to make it so a user can't create unlimited posts but more so is prompted to edit their post or delete it. I use Webflow CMS and Make for the users to Create, Edit & Delete their posts.

I was thinking of something like a "hasPost" custom field that will be given the value TRUE when a post is created and removed once a post has been deleted but how can I then tell Webflow/Memberstack which button to hide/show?

Thanks!

Comments

1 comment

Please sign in to leave a comment.