×
Namespaces

Variants
Actions

Input element example

From Nokia Developer Wiki
Jump to: navigation, search
Article Metadata
Article
Created: Korpela (19 Nov 2007)
Last edited: hamishwillee (31 Jul 2012)

Input elements should be used to enter short text (less than one line) or passwords. Typically, input elements are used when the user needs to enter a user name, a password, an e-mail subject, a phone number, and so on.

input element types supported in XHTML MP Text, Password, Checkbox, Submit, Radio, Reset, Image, Hidden

<?xml version="1.0"?>
<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN"
"http://www.wapforum.org/DTD/xhtmlmobile10.
dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Franklin 2</title>
</head>
<body>
<h1>Franklin's second page</h1>
<p>
<form action="form-process.xhtml"
method="get">
First Name:
<input type="text"
name="fname" title="First Name"
style="-wap-input-format:ammmmmm"/>
<br/>
<input type="submit"/>
</form>
</p>
</body>
</html>
This page was last modified on 31 July 2012, at 10:18.
52 page views in the last 30 days.
×