Forms

Forms are the right choice when creating lists that have editable content in all the fields. A form can be used in both view and edit states. If the view state is not needed, the form can be used in an always-editable mode. One form can contain several types of form items.

It is possible to add or remove form items dynamically, for example, users may be offered the option of adding and removing items from a form.

Figure: Contact details are shown in the view mode and can be changed in the edit mode.

Figure: Compact forms can be created with Single Line fields.

Several form item types are available as S60 UI components. One form can contain several types of form items. The following form item types can be used in a form:

Figure: Single Line field with string label, with icon label, and with string and icon label.

Figure: Double Line field with string label, with icon label, and with string and icon label.

For more information on C++ APIs for forms, see Form API documentation in the S60 C++ Developer’s Library.