Next Previous Contents

2. Field definition

You can add as many field as needed. For each field, you must provide the following informations

2.1 ID

You must provide a tag uniquely identifying the field. This tag will be used as the key to locate the value of the field in the /etc/userinfo.conf database. The ID can't contain spaces.

2.2 Field title

This title will be used to build the dialog. The string must not be too long to fit in the dialog. While linuxconf will adjust the dialog to fit the various string. There are nevertheless arbitrary limits imposed by the various user interfaces, such as the text mode limiting overall width to 80 columns.

2.3 Field type

You must select the type of edit control which will be used to build the dialog. This is fixed list. You must pick one of

Each field type may have its features. Here they are,

String field

A check box let you control is the field must be filled or not by the user.

Numeric field

You must specify the minimum and maximum value of the field.

Enumeration

You must enter all possible value (At least two).


Next Previous Contents