Not sure if this is the right forum section for this, since it relates to Safecracker.
I am trying to limit safecracker posts in a channel to one per user. Here’s what I’m doing.
I have a channel with entries, call it Channel A. I then have another channel, Channel B, that users can post to. Channel B has two custom fields, one is a number and one is a relationship field to Channel A.
I have the safecracker saef set up so that it shows on a single entry page for Channel A only. It prepopulates the relationship field with the current Channel A entry, so the user only enters a number. Simple enough, and working fine.
I need some way to stop showing the safecracker form when a user has already posted to Channel B once, related to that Channel A entry.
Any ideas? (Goodness, this sounds like a hairy mess now typing it all out)