Overview of Field Types
An overview of the different field types that can be used with PloneFormGen to generate custom forms.
By now you've seen how to create a new form and make some simple changes to it. The next step is to learn how to add new fields to the form.
There are a lot of different types of fields that one can employ. You've probably seen many of those types of fields around on the Internet like a text box, a list you can choose from, a checkbox, radio buttons, and so on.
Some of the field types that are included with PloneFormGen will not be discussed here as they are used more for advanced database applications that for basic web forms. The field types discussed here should be the only ones you'll really need to get started.
Navigate to your Form Folder and push the Add Item button. You should see a long drop-down menu appear. There's a lot of choices, but we've chosen the six most common to focus on for this tutorial.
| Field Type | Description |
|---|---|
| Just like the name implies, use this type of field to gather date/time information. |
|
| This really isn't a field at all, just a way to add text in between fields. |
|
| Use this field type if you want to let your site visitor select multiple items from a list. |
|
| This field type is to gather one choice from a list of selections. The list can be checkboxes, radio buttons, or a text list. |
|
| This is probably the most commonly used field. It's a simple, one-line text box for gathering info like name, address, e-mail, phone number and so on. |
|
| A large text box for gathering things like comments or other long-form text responses. |
You'll notice that there is a special icon for each field type. It's a good idea to get familiar with how each one looks so you'll be able to recognize the different field types at a glance.
In the next section, you'll see how to add and configure a string field; the most common type of form field.
← Return to the previous section Go to the next section →
