Documente Academic
Documente Profesional
Documente Cultură
Orientation 2
Accepting Inputs Input providing mechanisms / devices Various UI elements for accepting inputs
February 7, 2011
Accepting inputs
IT Industry is an industry that deals with data management. It collects, stores and processes the data to create meaningful information which is then conveyed to appropriate users via various means.
In this presentation, we will be disussing about the ways in which an application can collect data from the users.
February 7, 2011
The most commonly used mechanisms / devices include: Keyboard It is the most common type on input device Generally used to input numeric or textual data Used to invoke funtionality using function keys (F1 to F12) Used to invoke functionality using keyboard short cuts (Alt + [key], Ctrl + [key], etc.) With newer multimedia keyboards, certain keys can be mapped to trigger applications and their functionalities, e.g. playing music, controlling volume, etc.
February 7, 2011
February 7, 2011
Other options for providing inputs include: Joysticks used for playing games Camera for Gesture based commands, authentication using face detection or for video recording
February 7, 2011
Appropriate selection of input control makes the system more usable and efficient.
Common input controls include:
Text box, option box, check box, dropdown box, combo box, list box, calendar control
February 7, 2011
Option box
Generally used when a user is supposed to make a single selection from available options. Also referred as radio button. Takes up screen space depending upon the number of options available to choose from. Hence preferred when options are less. Once an option is selected, there is no way to unselect it. However selected option can be changed.
February 7, 2011
February 7, 2011
It consumes less screen space, hence preferred when selection options are more.
Since user just selects from values listed, there is no scope of user error (typo errors).
Combo box Looks and works similar to drop down box, but also allows to key in a new value that is not present in the drop down list. Hence it is a combination of a text box and a drop down box.
February 7, 2011
February 7, 2011
February 7, 2011
Forms
Form is an area where we have form elements A form can contain input elements like text fields, checkboxes, radiobuttons, submit buttons and more
February 7, 2011
Form Tag
The majority of form controls are variations on a single element called INPUT.
Each variation of the INPUT element is specified by its type attribute. For example, the following code creates a text box and a Submit button: <FORM> <INPUT type="text"> <INPUT type="submit"> </FORM>
February 7, 2011
Control Events
Events can trigger actions in a browser, like starting a JavaScript when a user clicks on an element. <input id="Submit1" type="submit" value="submit" onclick="return Submit1_onclick()" />
This submit button will call a javascript function Submit1_onclick() when the user click on submit button.
February 7, 2011
Conclusion
We discussed the following: Various ways exist to provide input to a system. Suitability of a particular way depends on the functionality the system provides and the type of users.
On a given UI, there exists numerous input controls that can facilitate collecting data from user. Selection of particular control depends on type/nature of data, volume of data, available screen space, etc. On a screen / page having multiple controls, the tabbing sequence should be consistently maintained, especially for the keyboard users.
February 7, 2011
Happy Learning...!