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?

closed as unclear what you're asking by JonW Oct 15 '15 at 8:54

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

  • 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? – Matti Virkkunen Jul 2 '15 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 – Siddharth Gupta Jul 2 '15 at 18:56
  • OK, so we're talking about a website, not a command line program. – Matti Virkkunen Jul 2 '15 at 18:59
  • Yes, a website. An example can be typeform or Google form – Siddharth Gupta Jul 2 '15 at 19:03
  • This might help: ux.stackexchange.com/questions/79698/… – Alan Jul 2 '15 at 19:04

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 Sep 1 '15 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 Oct 14 '15 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.