Namespaces

Variants
Actions

Please note that as of October 24, 2014, the Nokia Developer Wiki will no longer be accepting user contributions, including new entries, edits and comments, as we begin transitioning to our new home, in the Windows Phone Development Wiki. We plan to move over the majority of the existing entries over the next few weeks. Thanks for all your past and future contributions.

Input element example

From 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 07:18.
22 page views in the last 30 days.

Was this page helpful?

Your feedback about this content is important. Let us know what you think.

 

Thank you!

We appreciate your feedback.

×