Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 158 Stack Exchange communities.

What is meta?
Here's how it works:
  1. Any Stack Exchange user can ask a question
  2. The community provides support, votes on ideas, and reports bugs
  3. Your voice helps shape the way Stack Exchange operates

I had a problem I couldn't resolve so I appeal to SO and got several answers, none of which worked. After a few more hours of playing around, I managed to get the solution one person proposed to work with a bit of extra tinkering. I edited his answer and then accepted it. Is that ok to do? I didn't want to answer it myself since he led me to the solution, and I didn't want to bug him to add in the edit bit I needed since I could easily do it.

This may be considered a dupe of this, but my question really is asking if I can go ahead and add the extra component needed for the solution to work.

share|improve this question
up vote 12 down vote accepted

It depends on how close the answer is to being right.

If it's 95% there then edit it making it clear which is your modification and accept it.

If it only pointed you in the right direction vote it up but add your own (possibly CW) answer with the solution.

However, that's just my opinion.

share|improve this answer
Nice! I hadn't realized 'til this answer that editing someone else's answer was possible. – Tom Harris Dec 28 '12 at 11:05

If it were me, rather than editing the answer or making a new one to show the corrected version, I'd update my question with the corrected code and acknowledge the fact that it was based on one of the answers and accept it. It should be acknowledged in both the update and a comment on the answer along with the changes that are needed to work. That way, it is clearer for other readers that while this answer almost completely answers the question, there are some changes needed to fit your situation and you're not putting words into the answerer's mouth. Also the answerer will have the opportunity to update the answer himself.

share|improve this answer
I don't like this. The page is a lot more readable when the question just contains the question and the answer(s) contain, guess what, the answer. Your proposal creates a misleading page, where one could easily believe that the accepted answer contains all the interesting information and miss the details that are, surprisingly, in the question. – Gilles Mar 18 '11 at 22:15

What I used to do is to add a comment explaining why this answer is almost what I was looking for and then accept it anyway. If the answer needs some hard work to be acceptable to me, I upvote the answer and add my own answer as accepted.

I have never found a problem acting like this and the answerers seems to accept it kindly. Also, I have seen this kind of arrangement in a lot of questions of others and it was really clear and gentle to me as a reader.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .