---
schema_version: "1"
id: c747afd0ef5db3ecf00d78cec99e52dfdddc0bf0ed5703beaa8570ef3bd8f0e8
title: Setting a Form's Submit Behavior
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/platform/264-0-0/siteforce_data_form_submit.md
canonical_url: https://help.salesforce.com/s/articleView?id=platform.siteforce_data_form_submit.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 5679358e3817c096d981856448e512b7f796da0afe331047df7ed19ac25995fe
description: When your site visitors submit a form successfully, you can either redirect them to another page or display a message indicating that they were successful.
products:
  - Salesforce Platform
  - Security
release: "264"
---
# Setting a Form's Submit Behavior

When your site visitors submit a form successfully, you can either redirect them to another page or display a message indicating that they were successful.

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition">
        <colgroup>
          <col>
        </colgroup>
        <tbody>
          <tr class="">
            <td class="slds-cell-wrap" style="vertical-align:top;">Available in: Salesforce Classic</td>

          </tr>
          <tr class="">
            <td class="slds-cell-wrap" style="vertical-align:top;">
              <p>Available for purchase in: <strong>Enterprise</strong>, <strong>Performance</strong>,
                and <strong>Unlimited</strong> Editions</p>
              <p style="margin-bottom:0;">Available (with limitations) in:
                <strong>Developer</strong> Edition
              </p>
            </td>

          </tr>
        </tbody>
      </table> <table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small permission">
        <colgroup>
          <col style="width:50%">
          <col style="width:50%">
        </colgroup>
        <thead class="slds-text-title_caps ">
          <tr class="">
            <th scope="colgroup" class="slds-cell-wrap" colspan="2" style="text-align:center;vertical-align:top;" id="d165254e74">User
              Permissions Needed</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d165254e74 ">To build, edit, and manage Site.com sites:</td>

            <td class="slds-cell-wrap" style="vertical-align:top;" headers="d165254e74 ">
              <p><samp class="parmname">Site.com Publisher User</samp> field enabled on the
                user detail page</p>
              <p>AND</p>
              <p style="margin-bottom:0;">Site administrator or designer role
                assigned at the site level</p>
            </td>

          </tr>
        </tbody>
      </table>

When the page is open:

1. Select the form in the Page Structure pane.
2. In the Properties pane, select an option in the When Successful drop-down list.
    
     
    | Option | Description |
    | --- | --- |
    | Show another page | Redirects the user to the page that you specify. |
    | Display a message | Displays a message below the form. |
3. As appropriate, specify either:
    - The page to redirect to in the Page URL field. You can enter a relative URL, such as a site page, or an absolute URL. For relative URLs, ensure you include a forward slash (/).
    - The message text in the Message Text field.

![Tip](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-platform-extend_click-264-0-0-production-enus/5f7d9219-b7b1-4552-8891-f1aba9b289fc/images/icon_tip.png)

Tip The form's **Submit** button uses the submit action in the [Events pane](https://help.salesforce.com/s/articleView?id=platform.siteforce_events_available.htm&release=264.0.0&type=5 "Choose from several event triggers and actions when you create an event.").

#### See Also

- [Adding a Form to the Page](https://help.salesforce.com/s/articleView?id=platform.siteforce_data_form.htm&release=264.0.0&type=5 "Use forms to collect data from your site visitors and submit the data to standard or custom Salesforce objects. Create web-to-lead forms, capture customer details, or gather feedback on your products or services.")
- [Input Field Properties](https://help.salesforce.com/s/articleView?id=platform.siteforce_data_form_field_props.htm&release=264.0.0&type=5 "When adding or editing input fields on a form or page, use the options in the Field Properties section of the Properties pane to control how the selected input field functions.")
- [Site.com Data Services Overview](https://help.salesforce.com/s/articleView?id=platform.siteforce_data_overview.htm&release=264.0.0&type=5 "Site.com data services combine many features that let you connect to standard and custom Salesforce objects. Retrieve data from your organization's objects and dynamically display it on your site pages, or alternatively, gather and submit data from your customers. And when you update data in your Salesforce object, the changes are reflected automatically on the live site—no site updates required!")