Add contact forms and style form widgets in Adobe Muse.
Learn how to add, configure, and test contact forms for your Adobe Muse website. Set up reCAPTCHA to prevent spam or phishing.

Most sites that you visit have a contact page that enables visitors to contact the site's owner. Forms are very helpful because you can gather the contact information of potential customers while also avoiding the spam mail that can result when you publish an email address directly on a web page.

In this article, learn how to add and configure contact forms to your Adobe Muse sites. 

Add a contact form to your site

Follow these steps to add a Contact Form widget to your site design:

  1. Open Adobe Muse. Double-click and open the page in Design view, where you want to add the contact form. 

  2. Open the Widgets Library panel (Window > Widgets Library). Click Forms, and then select one of the two types of forms:

    • Detailed Contact
    • Simple Contact
  3. Drag the contact widget to the page.

    Widgets Library
    Expand the Forms section and drag the Simple Contact form to the page.

  4. After dragging a form onto a page, use the Selection tool to click once to select the form and then position it at the desired location.

    Since the Forms widget is responsive, you can preview and check the behavior of this widget in various screen sizes. If you want to change the position of the widget, or modify the pinning and resize options for the contact form fields, you need to first add a breakpoint at the desired location. Then, double-click and select the field that you want to pin or resize. You can either choose None or Responsive Width as the resize option.

    If you want to pin your Forms widget to a particular position in your page, select the Pin option from the Toolbar on top.

    הערה:

    If you want a form to appear on every page, you can add the Contact Form widget to a master page. In this case, every page that uses the master page will display the contact form.

Configure the settings for contact forms

In this section, you'll take a look at the settings for the Forms widget and learn how you can configure the settings for a contact form using the Options menu.

  1. Use the Selection tool to select the entire Contact Form widget. While the entire form is selected, the Selection Indicator in the upper-left corner of the Control panel displays: Form: Normal

    The Normal link is a menu with four possible states, just like menu items or buttons:

    • Normal
    • Submit in Progress
    • Submit Success
    • Submit Error
    Submit selection tool
    The Selection Indicator displays the available states for the entire form.

    When you want to adjust the form as it appears in various states, you can select the corresponding state name from this menu.

    Submit error state
    The form as it appears in the Submit Error state.

    While this state is selected, you can adjust the appearance of the error message. For example, you could change the text content or change the error text color from red to blue.

  2. Select the Normal state again from the Selection Indicator menu.

  3. While the entire form is still selected on the Normal state, click the blue arrow to access the Options menu. The set of options in the Options menu affect the entire widget:

    Options menu
    The Options menu displays the settings for the entire contact form.

    By default, the Form Name field is populated with the name of the current page. You can change the name, if desired.

    If you want the form submissions to forward to multiple email addresses, you can enter the addresses (separated by semicolons) in the Email To field.

    The behavior of the form submission is set by the option you select in the After Sending menu. Choose between the following options in the Options menu:

    • Stay on Current Page (default)
    • Link to File (upload a file that is linked after form submission)
    Choose the behavior of the form using the After Sending menu
    Choose the behavior of the form using the After Sending menu.

    There are two types of new form elements that you can add:

    Standard Fields

    The list of standard fields include:

    • Email
    • Company
    • Name
    • Work Phone Number
    • Cell Phone Number
    • Work Address
    • Home Phone Number
    • Website
    • Home Address
    • Captcha

    To add any of these fields, select the checkbox against the required fields.

  4. To add custom fields for your contact forms, click the + button next to the custom field you'd like to add, and then enter the label in the Design view to describe the new form field element that you are adding to the form.

    The following are the types of custom fields that you can add to a contact form:

    • Single Line Text: Single line fields are for shorter text, such as the visitor's age or zip code.
    • Multiline Text: Add the multiline text fields when you want to enable the visitor to type more information, such as submitting a comment or asking a question.
    • Checkbox
    • Checkbox Group
    • Radio Button Group

Configure the settings for individual form elements

When you select a form element, the Selection Indicator updates to display the element's name, such as Label, Text Input, or Submit. With the Selection Indicator, you can easily see which nested element in the form is currently selected.

  1. Click the entire form once to select the Forms widget as a whole. To select individual elements within the Forms widget, double-click and select the element.

    To know whether the whole widget or an individual element is selected, view the Selection Indicator. The Selection Indicator displays Form if you select the entire widget, and Text Input if you select a particular field.

    When a Text Input form element is selected and you click the blue arrow button to access the Options menu, the options provided offer settings specifically related to that element.

    Contextual set options
    The Options menu displays a contextual set of options for the selected form element.

    In the Options menu while a Text Input element is selected, you can choose if the field is required. You can also choose whether the field displays descriptive text to help the visitor understand what to enter when filling out a field.

    In the Parts section, select or deselect the checkboxes to show or hide the field's label and message text.

    While a form element is selected, the Selection Indicator displays the element's name as well as a States menu that you can access in the Control panel (if applicable). The menu in the Selection Indicator makes it easy to select the desired state while you are editing form elements.

    Selection Indicator
    While a form element is selected, use the Selection Indicator menu to select the desired state.

    While a state is selected, you can use the Fill panel or the Control panel to adjust its appearance.

    The possible states that you can configure for form fields are:

    • Empty
    • Non Empty
    • Rollover
    • Focus
    • Error

    The states of a Submit button are displayed with the Submit button is selected.

    You can configure the following states for the Submit button:

    • Normal
    • Rollover
    • Mouse Down
    • Submit in Progress
    Submit button state
    Select the Submit button to access the states of the button.

    Notice that the states of an entire form are displayed when the entire form is selected:

    • Normal
    • Submit in Progress
    • Submit Success
    • Submit Error
    Button state
    While the entire form is selected, you can choose the state of the entire form to affect how it will display.

Style and design contact forms

You can design the appearance of Forms widget and form elements the same way you update the appearance of other widgets in Adobe Muse. Follow this basic workflow:

  1. Use the Selection tool to select the entire form or the form element you want to update.

    For example, if you want to change the text that appears in the Submit button, you can directly double-click the Submit button in the contact form. You can change the text in the Submit button by Text selecting the Submit text using the Text tool. Delete the text, and type a new word. You could also select different states of the Submit button using the menu in the Selection Indicator and change the text for different states.

  2. After selecting the form element, you can adjust the appearance of the element.

    For example, double-click and select the Name field. To select the text input for the Name field, you can then use the options in the Control panel or the Fill panel to set the background color of the text field.

    Fill panel
    Use the Fill panel to set the fill color of the Text Input fields.

    Using the Fill panel options, you can set the fill color to solid or gradient. You can also set a background image for the fill and set the Fitting and Position options. To adjust the transparency of the fill, you can modify the Opacity setting.

    Notice that unless you disable the Edit Together option (which is enabled by default), all the fields update when you edit a single field. This feature helps create a consistent design in your form and saves time. However, you can always select the entire form, click the blue arrow button to open the Options menu, and deselect Edit Together if you prefer to style the fields individually.

    Add custom fields
    When the Edit Together option is disabled, the changes you make to one type of form element are not automatically applied to the other elements of the same type.

Test the form and retrieve the submitted messages

After you configure and style your form, save the site and then publish it. Now, you can test the form in a browser.

  1. Click the Publish button and then click OK.

    Click the Publish Button
    Publish the site with the recent changes.

    A browser window opens to display the published site.

  2. Visit the page with the contact form and interact with it on the live site. Test what happens when you submit the form without entering content in the required fields. Check how the form appears and functions, and pay close attention to how it displays error messages.

    Once you have determined that the form works and displays as expected, try submitting the form with some placeholder message to send a message. Check your email and make sure you received the message in your inbox.

  3. In the left sidebar, click the Web Forms Usage option in the Reports category. The graph that appears displays the recent form activity related to form submissions.

    Web Forms Usage report
    Check the Web Forms Usage report to learn how many visitors submitted the form.

    Using the reports in the Dashboard, you can learn a great deal about the visitors of your website. You can track trends to see when the site receives the most traffic and check the performance of the forms that you add to your site.

    This information is helpful when deciding when to add promotions or update your site's content. It also helps you interact with visitors, because you enable them to send messages and feedback to you. You can have a dialog with visitors, rather than only displaying information in a one-way communication from your site.

    To learn more about building sites with Muse, visit the Adobe Muse Tutorials page. Also check out the Site of the Day page to see examples of recent web designs created with Muse.

Add Google reCAPTCHA to prevent spam

Adobe Muse allows you to add reCAPTCHA, a free service from Google to protect your website from comment spams, bogus registrations, and more. You can enable reCAPTCHA on contact forms within Adobe Muse to allow only valid users to provide information on your website. For more information about reCAPTCHA, see Google reCAPTCHA.

The reCAPTCHA service requires you to generate public and private keys unique to your website domain. These keys have to be copied into specific fields within Adobe Muse to fully enable reCAPTCHA on your website.

Adding and configuring reCAPTCHA to a form

  1. In Adobe Muse, select Window > Widgets Library > Forms. Drag and add a simple or a detailed contact form.

    Forms widget options
  2. In the Options panel, from the Captcha drop-down list, select reCAPTCHA v2.

    It is recommended that you choose reCAPTCHA v2 since Google does not support reCAPTCHA version 1 anymore.

    reCAPTCHA options
    Add reCAPTCHA v2

    The reCAPTCHA field (Image Verification) is now added to the form.

    reCAPTCHA field
    Configure reCAPTCHA v2 settings

  3. Configure reCAPTCHA using the following options:

    • Public Key: Is used in the JavaScript code that is served to your users. For information on generating keys reCAPTCHA, see Generate public and private keys.
    • Private Key: Is used to communicate between your website’s server and the Google server. It is strongly recommended that you store the Private key securely, and do not disclose it. Once lost, the Private key cannot be recovered from Google. For information on generating keys reCAPTCHA, see Generate public and private keys.
    • Require Entry: Specify whether reCAPTCHA is mandatory. The option is not editable and selected, by default.
    • Theme: Specify whether you want to choose the light or dark theme for the reCAPTCHA box.
    • Type: Specify whether you want to enable image verification or audio play for the reCAPTCHA verification. Audio play allows blind users and users with poor eye sight to navigate through your website easily.
    • Size: Specify whether you want the reCAPTCHA size to be normal or compact.
    • Label: Select this check box to Choose to display a label of the reCAPTCHA field. You can use this field to add a title to the reCAPTCHA section of the form.
    • Message Text: Select this check box to choose to display a message.

Generate public and private keys

  1. הערה:

    You don't need to obtain keys for websites currently published on Business Catalyst.

    Open the Google Admin Console in a browser. On the Google Admin Console, click Sign Up Now to sign in to your Google account or sign up using the Create An Account option.

    After you sign in, you are redirected to the Google reCAPTCHA Home page.

    Google reCAPTCHA Admin Console
    Google reCAPTCHA

  2. Click the Get reCAPTCHA button on top of the page.

  3. Provide the domain name of your website in the Domains field. Do not provide the full URL of the website, but only the domain name. For example, mysamplemusewebsite.com.

    Register your site for Google reCAPTCHA
    Register your site for Google reCAPTCHA

  4. Click Register to generate unique public and private keys for your website.

    Notice the public key (Site key) and private key (Secret key) that are generated.

    Generate public and private keys
    Generate public and private keys

  5. Copy the Site Key and Secret key to Public and Private Key fields within Adobe Muse respectively.

    Ensure that you copy the keys fully, and do not miss any of the characters.

    Once you obtain a pair of keys for a domain, the same pair is shared across all forms on that Adobe Muse site. Changing one automatically changes all of them, and schedule a re-export of all the pages and their corresponding .php scripts. If you are using a third-party tool to FTP files to the server, ensure that you copy all the .html and .php files (.php files are located inside "scripts/" folder) on the server, not only the one that were updated.

  6. Preview page in browser or within Adobe Muse to test the reCAPTCHA.