7.0

Table Of Contents
4.8 Edit forms
A form is an area that can contain form fields. Form fields are objects that allow the visitor to enter
information - for example text boxes, drop-down menus or radio buttons. When the visitor clicks a submit or
save button, the content of the form is sent to PSM Web.
The Edit User Info form
The following sample shows a stripped down source code of an edit form. Like the overview pages all elements
are surrounded by a content <div> tag. The first child of this tag is the <form> tag.
<div id="content">
<form action="site.php?formid=person_edit_form&amp;id=2"
autocomplete="off" name="personEditForm" method="POST" id="personEditForm">
<div class="content" id="personEditFormContent">
<div id="cPropertiesHeader" class="formHeader">Properties</div>
<fieldset class="formFieldset " id="cGeneralFieldset">
<legend id="cGeneralLegend" class="formLegend">
<span id="cGeneralLegendLabel" class="formLegendLabel">General</span>
</legend>
<div class="content">
<div id="fcUserNameLine" class="formLine ">
<span id="fcUserNameLabel" class="formLabel">
User name:<span class="asterisk">*</span>
</span>
<span class="formElement">
<input type="text" value="pp" name="fcUserName"
id="fcUserNameField" class="formField"/>
</span>
</div>
<div id="fcPersonCodeLine" class="formLine ">
<span id="fcPersonCodeLabel" class="formLabel">Person code:</span>
<span class="formElement">
<input type="text" value="" name="fcPersonCode"
Objectif Lune Inc. © 2010 31