Present 10 guidelines for creating forms that are easy to use.

What will be an ideal response?

Forms are the primary method used to collect data from users. Whether it's a simple form for a quick voting poll or a complex form for ordering a product from an online catalogue, a form must be easy to use. This means the instructions must be clear. If users find the form difficult to use, they are more likely to abandon it and move on. Here are a few tips for creating forms that are easy to use:
• Provide simple and clear instructions for each form control. A label such as First Name is better than Please enter your First Name.
• Indicate any form controls that must be completed.
• Set values where appropriate to provide the most likely data in text box controls.
• Use the placeholder attribute to set sample text in a text box.
• Limit the amount of text users must type by using option buttons, check boxes, or other form controls where appropriate.
• Use the autocomplete attribute, which is an HTML5 attribute supported by some Web browsers. With the code autocomplete = "on" in a text box tag, a Web browser automatically fills in that text box with data that has been completed in previous forms. Typically this includes firstname, lastname, city, country, email, and other common fields. When you're completing a form, the Web browser may prompt you to remember the form values. When the Web browser remembers these values, they will automatically be populated in a form when the names of the text box controls are recognized. It's very frustrating when you enter all the information in the form controls, only to discover after you submit the form that there was an error and all data must be reentered. Instead, use the autocomplete attribute to save the user some time.
• Align form controls so text box controls are aligned along their left edges when they are arranged vertically.
• Use fieldset elements to group form controls logically.
• Ensure text boxes are sized to accommodate the longest reasonable text input.
• Ask for only essential data. Don't ask for data you won't need.

Computer Science & Information Technology

You might also like to view...

Pressing Ctrl + Home moves the insertion point to ________

A) the beginning of the document B) the beginning of the current line C) the end of the current line D) the end of the document

Computer Science & Information Technology

In a Property block, the _ property procedure retrieves the value of a member variable.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology