Most sites 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 you'll learn how to add contact forms to your Muse sites.
After dragging a form onto a page, use the Selection tool to click once to select the form and then position it in the desired location in the page design.
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.
In this section you'll take a look at the settings for the Contact Form widget and see how you can set options in the Options menu to control how it will behave.
Use the Selection tool to select the entire Contact Form widget. While the entire form is selected, the Selection Indicator in the top 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:
- Submit in Progress
- Submit Success
- Submit Error
When you want to adjust the form as it appears in various states, you can select the corresponding state name from this menu.
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:
By default, the Form Name field is populated with the name of the current page, but you can change the name if desired.
If you'd like 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)
There are two types of new form elements you can add:
The list of standard fields include:
- Cell Phone Number
- Home Phone Number
- Home Address
- Work Phone Number
- Work Address
- BC CAPTCHA
If you want to add one of these fields, simply select the checkbox.
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 you are adding to the form.
The following are the kinds of custom fields 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 Group
- Radio Button Group
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.
Click the entire form once to select it, and then click a field twice more. First the Selection Indicator displays Form, then Form Field, and then Text Input. Text Input is the name of the actual field in a form.
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.
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.
While a state is selected, you can use the Fill panel or the Control panel to adjust its appearance.
The states of form fields are:
- Non Empty
The states of a Submit button are displayed with the Submit button is selected.
The states of a Submit button are:
- Mouse Down
- Submit in Progress
And as you saw in the previous section, the states of an entire form are displayed when the entire form is selected:
- Submit in Progress
- Submit Success
- Submit Error
You can design the appearance of Contact Form widgets and form elements the same way you update the appearance of other widgets in Muse. Follow this basic workflow:
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 click the Submit button of the form repeatedly. First you'll select the entire form, then you'll select the Submit button, and then you'll select the text inside the button. Using the Text tool, you can then select the Submit text, delete it, and type a new word that displays in the button. You could also select different states of the Submit button using the menu in the Selection Indicator and change the text for different states.
Once you've selected the form element, you can adjust its appearance.
For example, if you click once to select the form and then again to select the form field, and then once again 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.
Using the Fill panel options, you can set the fill color to solid or gradient. Or set a background image for the fill and set the Fitting and Position options. As shown in the figure, you can also adjust the transparency of the fill you apply by changing 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 creates a consistent design in your form and saves time—but 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.
When you are finished configuring and styling your form, save the site and then publish it, so that you can test the form in a browser.
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.
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.
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.
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.
You do not have to re-publish sites that are already live, and have an existing Google reCAPTCHA private key. reCAPTCHA 2 is only required when you create new contact forms.
Configure reCAPTCHA using the following options:
- 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: celect 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.
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.
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.