-3

I just read this post about the term "control" when dealing with forms.

However, the OP asked it in relation to Bootstrap, and I'd like know if this term has a general definition, and more importantly: Does its usage relates only to web forms, or does it have more usages in web development?

Community
  • 1
  • 1
OfirD
  • 9,442
  • 5
  • 47
  • 90
  • I'd be happy for a feedback on the reason for the downvotes. IMHO, it is a fairly legitimate question, not already found on SO. – OfirD Dec 20 '16 at 21:19

2 Answers2

1

Typically, a "control" is a UI element which causes some action to occur. For example, both text inputs and submit buttons are examples of "control" UI elements.

There are special control elements implemented by specific frameworks or platform ecosystems. For example, there are many variations on calendar UI element controls.

Nathan
  • 1,700
  • 12
  • 15
  • Thank you for mentioning the implementation issue. For future reference, I guess you can say [this](http://stackoverflow.com/questions/461901/asp-net-control-to-html-tag-equivalent) post is related. – OfirD Dec 20 '16 at 21:27
0

Form controls are those elements (which you use in conjunction with a form) that the user interacts with directly. Examples include text boxes, drop down menus and buttons.

From the specification:

A form is a component of a Web page that has form controls, such as text fields, buttons, checkboxes, range controls, or color pickers.

and

Most controls are represented by the input element, which by default provides a one-line text field.

Quentin
  • 914,110
  • 126
  • 1,211
  • 1,335