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.
-
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.
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.
-
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
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.
The form as it appears in the Submit Error state.
-
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:
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.
There are two types of new form elements that you can add:
Standard Fields
The list of standard fields include:
- 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.
-
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
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 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.
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.
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
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
While the entire form is selected, you can choose the state of the entire form to affect how it will display.
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:
-
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.
-
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.
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.
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.
After you configure and style your form, save the site and then publish it. Now, 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.
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.
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.
-
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.
-
הערה:
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
-
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.