Polycom SIP 3.1 manual Input

Models: SIP 3.1

1 71
Download 71 pages 23.55 Kb
Page 17
Image 17

Application Development

<input>

The <input> tag defines the start of an input field where the user can enter data. In XHTML the <input> tag must be properly closed.

The following attributes are supported:

Attribute

Value/s

Description

 

 

 

checked

checked

Indicates that the input element

 

 

should be checked when it first

 

 

loads.

 

 

Note: Used with type="checkbox"

 

 

and type="radio"

 

 

 

name

field_name

Defines a unique name for the

 

 

input element.

 

 

Note: This attribute is required

 

 

with type="button",

 

 

type="checkbox", type="file",

 

 

type="hidden", type="image",

 

 

type="password", type="text", and

 

 

type="radio"

 

 

 

type

checkbox

Indicates the type of the input

 

hidden

element. The default value is

 

password

"text".

 

radio

 

 

reset

 

 

submit

 

 

text

 

 

 

 

value

value

For buttons, reset buttons and

 

 

submit buttons: Defines the text on

 

 

the button.

 

 

For image buttons: Defines the

 

 

symbolic result of the field passed

 

 

to a script.

 

 

For checkboxes and radio buttons:

 

 

Defines the result of the input

 

 

element when clicked. The result

 

 

is sent to the form's action URL.

 

 

For hidden, password, and text

 

 

fields: Defines the default value of

 

 

the element.

 

 

Note: Cannot be used with

 

 

type="file"

 

 

Note: This attribute is required

 

 

with type="checkbox" and

 

 

type="radio"

 

 

 

2 - 5

Page 17
Image 17
Polycom SIP 3.1 manual Input