I am trying to create a command line interface for my website, I need to decide whether I should ask user to enter his details in a command line (Which makes it one field at a time) or should I pop up a normal form which can show everything at once.

Which is a better approach?

  • 1
    What exactly do you mean by "a command line interface"? Something that runs in a terminal? If so, what do you consider "a normal form" in a terminal? Commented Jul 2, 2015 at 18:54
  • When I say a command line interface, imagine it like a terminal running in your browser, telling you to enter your email, your name. When I say a normal form, it means a normal form as the one you can see on Facebook/Twitter Commented Jul 2, 2015 at 18:56
  • OK, so we're talking about a website, not a command line program. Commented Jul 2, 2015 at 18:59
  • Yes, a website. An example can be typeform or Google form Commented Jul 2, 2015 at 19:03
  • This might help: ux.stackexchange.com/questions/79698/…
    – Alan
    Commented Jul 2, 2015 at 19:04

2 Answers 2


If the site is for developers or those who are familiar with command line, you can use one, but usually not so much people love the restricted feeling of a command line. You can use a form, and chunk it in category(e.g. Personal details, skills, experience, etc.) For pop-up form, I think is not great because is used as a dark pattern, and usually is not thinked for the benefit of the user.

As a UX designer, you are advocating for the user. :) (And sometimes you are the user).

  • "Dark patterns" are elements designed to trick users into performing certain actions or accepting certain terms or conditions. I don't think the way you used it here is correct.
    – Brian
    Commented Sep 1, 2015 at 12:10
  • Can you explain why "pop-up" form (a form in a modal), is a dark pattern and why it doesn't benefit the user?
    – nightning
    Commented Oct 14, 2015 at 19:17

If you want the user to fill one Input at a time then you shouldn't have more than 5 Inputs to fill. Always show at each input what is the current user location (Progress e.g 80% completed)

If you have more than 5 input fields then display the form in an overlay as users might lose interest in Single Input at a time form method if you have too many fields to fill

One other problem which comes with filling those forms, how will you handle errors in each field. If the errors returns after submitting the form, how will you refill the form with the previous data

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