Chapter 9 - Forms Flashcards

1
Q

two parts to a working form

A

the form you see on the page itself, an application or script on the server that processes the information collected by the form and returns an appropriate response

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

form controls

A

buttons, input fields, and drop down menus used to collect information from the user

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

submit

A

submitting a form for processing

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

<form>...</form>

A

interactive form

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

action attribute

A

provides the location (URL) of the application or script that will be used to process the form

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

six technologies that can process web forms

A

PHP, Microsoft ASP, Microsoft’s ASP.NET, Ruby on Rails, JavaServer Pages, Python

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

two ways to get your forms to work if you’re not a programmer

A

use hosting plan goodies, hire a programmer

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

method attribute

A

specifies how the information should be sent to the server

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

two methods for sending encoded data to the server

A

POST, GET

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

GET method

A

the encoded form gets tacked right onto the URL sent to the server; appropriate if the form submission performs an action, such as deleting something or adding data to a database, because if the user goes back, it gets submitted again; character limit

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

POST method

A

the browser sends a separate server request containing some special headers followed by the data; only the server sees the content of the request, so this is the best method for sending secure information such as a home address or other personal information; also preferable for sending a lot of data; no character limit

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

name attribute

A

provides the variable name for the control

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

variable

A

one bit of information from a user

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

value (content)

A

the data entered by the user

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

input element

A

single line of text

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

textarea element

A

multiple lines

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

<input></input>

A

single-line text-entry control

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

name attribute

A

required for indicating the variable name

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q

value attribute

A

specifies default text that appears in the field when the form is closed

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
20
Q

placeholder attribute

A

provides a hint of what to type in the field

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
21
Q

maxlength attribute

A

set a maximum character limit

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
22
Q

minlength

A

set a minimum character limit

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
23
Q

<textarea>...</textarea>

A

multiline text-entry control

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
24
Q

<input></input>

A

password text control

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
search field
26
email address
27
telephone number
28
location (URL)
29
...
drop-down menu input
30
submits the form data to the server
31
resets the form controls to their default settings
32
replace the submit button with an image of your choice
33
creates a button that can be customized with JavaScript
34
flexible element for creating custom buttons similar to those created with the input element
35
radio button (select one)
36
checkbox button (select several)
37
minimized
shortened attribute that stands for a more redundant longer version of the attribute
38
menu control
39
an option within a menu
40
...
a logical grouping of options within a menu
41
drop-down menu (pull-down menu)
only one item can be selected
42
multiple attribute
allows users to make more than one selection from the scrolling list
43
file selection field
44
hidden control field
45
date input control
46
time input control
47
date/time control
48
specifies a month in a year
49
specifies a particular week in a year
50
number input
51
slider input
52
color picker
53
...
indicates the state of an ongoing process
54
...
represents a measurement within a range
55
...
calculated output value
56
attaches information to form controls
57
implicit association
nests the control and its description within a label element
58
explicit association
matches the label with the control's id reference
59
...
groups related controls and labels
60
...
assigns a caption to a fieldset
61
Decide whether each of these forms should be sent via the GET or POST method: A form for accessing your bank account online
POST
62
Decide whether each of these forms should be sent via the GET or POST method: A form for sending t-shirt artwork to the printer
POST
63
Decide whether each of these forms should be sent via the GET or POST method: A form for searching archived articles
GET
64
Decide whether each of these forms should be sent via the GET or POST method: A form for collecting long essay entries
POST
65
Which form control element is best suited for the following tasks? Choose your astrological sign from 12 signs.
67
Which form control element is best suited for the following tasks? Write up a book review.
the width and height of a text area are specified with the cols and rows attributes, respectively