Polycom SIP 2.2.0 manual Input

Page 15

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 "text"

 

password

Note: This is not a required

 

radio

 

attribute, but we think you should

 

reset

 

include it. If omitted, IE 5.5 will still

 

submit

 

display a text field, but Netscape

 

text

 

4.7 will not.

 

 

 

 

 

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

Image 15
Contents SIP Trademark Information About This Guide Developer’s Guide SoundPoint IP / SoundStation IP Contents Developer’s Guide SoundPoint IP / SoundStation IP Overview What is the MicrobrowserWhat is Xhtml How to Create Applications Microbrowser Supported Xhtml Elements Application DevelopmentBasic Tags Following link tag is supported Defines an anchor Another document by using the href attributeLink Tags Input TagsSpecified URL Following attributes are supported Method=get This methodMethod=post This method Input Img element defines an image Image TagsFollowing image tag is supported Img-Defines an image Requirement is 38400 bytesTable Tags Attribute Value/s Description Meta Information Tags Http SupportMicrobrowser User Interface Navigation and Form Editing Launching the MicrobrowserChanging Configuration Parameters Developing an Xhtml ApplicationIdle Display Microbrowser Change mb.main.home to the URL used for Microbrowser home Sample ApplicationHttp//WEBSERVERADDRESSPORT/PLCM/Sample.xhtml Getting the Path Where BMP File has to be Saved AddStock.xhtml appears on the graphic display Xhtml file in the sip.cfg configuration fileReboot the phones Enter a stock symbol, then select the Get Quote soft keyTroubleshooting XML ErrorsSymptom Problem Corrective Action Developer’s Guide SoundPoint IP / SoundStation IP Tag Type Tag Description Basic Tags AppendixUnsupported Xhtml Elements Unsupported elements and attributes areFrame Tags Tag Type Tag Description Output TagsBlock Tags Link TagsTag Type Tag Description Input Tags List TagsImage Tags Tag Type Tag Description Table Tags Style TagsMeta Information Tags Tag Type Tag Description Programming Tags Developer’s Guide SoundPoint IP / SoundStation IP Index XHTML, definition
Related manuals
Manual 254 pages 57.53 Kb