Add Input Fields to Forms or Pages

Add additional input fields to an existing form. Each input field binds to a field in the object the form is connected to. Add input fields directly to a page, panel, data repeater, or data table to build your own custom features using

Required Editions

Available in: Salesforce Classic

Available for purchase in: Enterprise, Performance, and Unlimited Editions

Available (with limitations) in: Developer Edition

User Permissions Needed
To build, edit, and manage Site.com sites:

Site.com Publisher User field enabled on the user detail page

AND

Site administrator or designer role assigned at the site level

Add Input Fields to a Form:

You can add additional input fields to an existing form. Each input field binds to a field in the object the form is connected to.

The quickest option is to:

  1. Select the form on the page.
  2. Select Actions | Add Fields.
  3. In the Add Fields list, click the fields that you want to add. The Add Fields list displays the available fields in the object that the form is connected to. When you click a field, the correct field type is automatically added to the form, such as a checkbox or picklist field.

Alternatively:

  1. Select the form on the page.
  2. Select Actions | Add Page Elements.
  3. In the Add Page Elements list, click the input field type that you want to add, such as Checkbox.
  4. Choose a field in the Add a Field dialog box and click Save. If no fields of that type exist in the object, you can't add a field of that type to the form.
Note
Note
  • You can't add fields to a form by clicking Actions | Edit Form.
  • Formula, encrypted text, geolocation, and lookup field types aren't supported.
  • You can't configure the default field-level error messages that appear when users enter an incorrect value.

Add Input Fields to a Page:

You can add input fields directly to a page, panel, data repeater, or data table to build your own custom features using custom code. For example, let's say some of your products are only available in certain locations, and you want to let customers view the products in their nearest city. You could add a picklist input field to the page that lists the various locations. Using custom code, you could then pass the user's selection to a data table or data repeater via a query string to display a filtered product list.

To add an input field to the page, drag it from the Page Elements pane onto the page. Alternatively, select the page or container page element in the Page Structure pane, select Actions | Add Page Elements, and select the input field.