Preview a form template
To help ensure that forms based on your form template will work as expected when users fill them out, you can preview your form template to test its appearance and functionality. You can preview your form template while you design it to test a particular control or functionality. It is also a good idea to preview your form template before you publish it.
In this article
Overview
When you design a form template, you can use the preview feature to test the functionality and appearance of your form template. Previewing and testing your form template allows you to see and work with your form template from your users' perspective. When you click Preview on the Standard toolbar, a form based on your form template opens in a separate Preview window. You can then test your form template by entering data into the controls to check various features, such as text formatting, conditional formatting, rules, formulas, and data validation. If you are using security levels or have added user roles to your form template, you can also test these features when previewing your form template. Using the Preview window allows you to identify mistakes in the design of your form template and then quickly switch to the design window, where you can correct them. To help you identify which window you are in, Preview or Design appears in the title bar of each window.
If you use a consistent set of data to test your form template, you can improve the efficiency and accuracy of your tests by using a form with sample data rather than manually entering the data each time you preview the form template. Sample data is placeholder text that appears in controls on your form and provides an example of how the text will appear in the control when a user fills it out. Sample data can be seen only when you preview the form template.
Preview a form template
-
To test a user role on your form template, specify which user role you want to test the form template with.
How?
-
On the Tools menu, click Form Options.
-
In the Category list, click Preview.
-
In the Preview as list, under User role, click the user role that you want to test.
-
-
To test your changes, click Preview on the Standard toolbar, or press CTRL+SHIFT+B.
Preview a form template with a full trust or restricted security level
-
On the Tools menu, click Form Options.
-
In the Category list, click Security and Trust.
-
Under Security Level, clear the Automatically determine security level (recommended) check box, and then click the security level that you want to apply to the form template.
-
Click OK.
-
To test your changes, click Preview on the Standard toolbar, or press CTRL+SHIFT+B.
Preview a form template with a domain security level
-
On the Tools menu, click Form Options.
-
In the Category list, click Security and Trust.
-
Under Security Level, clear the Automatically determine security level (recommended) check box, and then click Domain (the form can access content from the domain in which it is located).
-
In the Category list, click Preview.
-
In the Domain box, type the domain name where the form template will be published.
-
Click OK.
-
To test your changes, click Preview on the Standard toolbar, or press CTRL+SHIFT+B.
Preview a form template with sample data
If you plan to test a form template repeatedly, you can save time by creating a form based on your form template that contains sample data and then configuring your form template to use this sample data each time that you preview your form template. By using a form with sample data, you will not have to enter the same data every time you preview the form template.
-
Click Preview on the Standard toolbar, or press CTRL+SHIFT+B.
-
Type your sample data in the appropriate controls.
-
On the File menu, click Save.
-
In the Save As dialog box, browse to the location where you want to save the form with the sample data, and then click Save.
-
On the Standard toolbar, click Close Preview.
-
On the Tools menu, click Form Options.
-
In the Category list, click Preview.
-
In the File location box under Sample data, click Browse.
-
In the Browse dialog box, browse to the location where you saved your form with the sample data, click the form, and then click Open.
-
Click OK.
-
To test your changes, click Preview on the Standard toolbar, or press CTRL+SHIFT+B.
No comments:
Post a Comment