<?xml version="1.0" encoding='utf-8'?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">
<wml>
<head>
</head>

<template>
	<do type="prev" label="Lessons">
		<go href="./"/>
	</do>
</template>

<card id="main" title="07: Forms">

<p>
Forms
</p>

<p>
Some WAP sites require the user to send information to
the server. This is usually for personalization, data
collection or searching purposes.
</p>

<p>
Due to the small screens cellphones have, a trick is to
put the form itself on the first card, and info on how to
use the form on a second "help" card.
</p>

<p>
This ties the ever-important help information to the
form without requiring an extra data fetch.
</p>

<p>
<a href="06-scripts.wml">06: Server-side scripts</a><br/>
<a href="08-card-tricks.wml">08: Card tricks</a><br/>
<a href="#glossary">Glossary</a><br/>
</p>

</card>

<card id="glossary" title="Glossary for C-07">

<p>
<u>Card</u>: One part of a WML deck (or file) that
is displayed at a time. Switching between cards in a
deck is fast because the whole deck is already loaded.
</p>

<p>
<u>Form</u>: a series of related inputs you (the
user) need to fill to send data to the web server.
The form itself will explain what info is required.
</p>

<p>
<a href="#main">Exit glossary</a>
</p>

</card>

</wml>
