4-3-2. Set Fields

After setting the page block sections as we like, it is time to add fields to the layout.
Switch to object tab for a list of fields associated with the object for which we are designing the form.


Before adding a field to the layout, select if you would like the field to be read-only or editable by selecting Text [Input] or Text [Output] from the Component Type menu.
After making your selection, drag and drop your field to one of the columns of a page block section.

For example, below we will add the Account name as an editable field to our layout for the Account object.
First, select Text [Input] under the Component Type menu and find the


Notice the fields in the Object menu reflect editable fields for our object.


Next, drag the "Account Name" field to a column of a page block section.

Notice that the Account Name field is set as an input field.

The example screenshot below shows 10 fields from Account object spread across two page block sections.

Fields that are already on the layout are marked in the Object menu list with an icon.
For example, editable fields on the layout are shown with an  icon.