I know this isn’t a normal use of comments, but I’m trying to figure out the best way to set up a ticketing system where we need the ability to have public comments that are visible to the person who submitted the request and private comments that are only visible to the site admins. I figured one easy way to accomplish this would be to set up the page with two comment forms - one that automatically sets the comment status to be “Closed” and another public form that sets the comment status to be “Open”. That way I can use the status=“Closed” parameter to show private comments only to the site admins.
But I can’t figure out a way to pass the “Closed” status through a form field - it doesn’t seem possible to overwrite the channel setting for “Moderate comments?”. I noticed in the exp_comments table that the status is set to either “o”, “p”, or “c”, so I tried using “c” in a hidden input field, but that didn’t work either.
Can you think of any way I could do this with comments?
I originally set this up with a Matrix field on the channel entry, but ran into a few problems with this since I want to record the person who submitted the comment and the time it was submitted. I was passing through this information with hidden input field, but ran into lots of blank rows being created.
Thanks for your help!