With web forms, such as the "post a comment" form at the bottom of a blog post, is it best to disable it by greying it out or to hide it? (Both with a message that you need to log in, obviously)

2 Answers 2


It depends on what you want to achieve. In the case of comment forms at the bottom of blog posts, do you want to lure guests into posting a comment? If yes, then the affordance granted by a visible comment form increases your chances of getting them to do so. If you hide the form, your options to make commenting an option are fewer (for instance, you could add a link to a comment form, which is less obvious than just having the form right there).

Stack Exchange sites show forms to unregistered users:

UX comment form for unregistered users

So even if you visit this site and have no idea how it works, you're still invited to answer. That's because UX.SE benefits by having as many people join as possible, so there's really no reason to hide a form.

Further, if the form is there, I might go ahead and start typing in it only to realise after spending a few minutes in it that I'm required to log in. "Oh well, I already wrote this whole answer, I guess I'll make an account," is a possible conclusion of that process. So you're breaking down barriers to entry.

So here are your options:

  1. Don't show a form, just show a "log in" button Introduces a step into the process where new users need to first decide to create an account, and then go back to the page and comment. This is a bit off compared to how people usually think, which is "Ah! I have something to say here" before "Hmm, let me make an account here".
  2. Show a form, but leave it disabled and show a "log in" button" This feels a bit redundant. Better use the space to show a big log in call to action than waste it on a control that doesn't do anything? Or maybe you could fade the form and put the button over it to increase association between the button and the form.
  3. Just show the form and ask people to log in after or during the submission process. As I mentioned above, this one maps more closely to most users' mental model.

Again, depending on your goals you can choose one of the above options. In most cases I would recommend the 3rd option, but I don't know what you're working on or why, so you may want to do something else. In any case, when putting together something like a comment form, always ask yourself what your thought process would be as a user of this site. What would you expect to happen? If you have a hard time doing that, try grabbing someone in the hallway and asking them to post a comment. See what they do.

  • Great answer, thanks. That screenshot tripped me out for a second. I thought the site was broken. :P Feb 3, 2012 at 15:53

For purposes of luring people into joining, I like the idea of replacing the link with a separate message specifically tooled to attract them. Here is a great example of how powerful a little direct wording can be.

So for example:

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.