Tips for improving infopath form filling speed

Source: Internet
Author: User
Document directory
  • Set Default Value
  • Context Value
  • Set current user
[Switch] tips for improving the infopath form filling speed

The less time we spend on filling out the form, the more time it takes to complete other tasks. At the same time, it does not take much time to fill out a form, which actually increases the enthusiasm of the form filling personnel. This article will help you to improve the speed and accuracy of form filling, so that you can completely speed up the form you designed.

This article includes

1. Use the default value

2. Use context to get the current date and current user

Set Default Value

When an answer to a question is more common than other answers, you can set it to an initial value or a default value. This value is automatically filled in after the form is opened, and can still be modified by the form writer.

You can set the default value by double-clicking the control and clicking the default value icon under the Property label that appears in the functional area.

Assume that in the boat rental form, when a ship is rented out, the employee needs to fill in who handled the ship, from when to rent, what type of ship, boat number and customer information.

Because most of the rental ships are 24 feet ships, we set the default specification to 24 feet. In this way, employees do not need to enter this field in most cases. To set the default value for the type, double-click the type drop-down box and select the default value in the property label. In the displayed dialog box, enter the default value. We can set the default values for the text box, check box, single-choice button, and many other controls in this way.

Context Value

When a ship is rented, we need to record who is the employee of the taxi and the start time of the taxi. Generally, the rental start time is the same day. We want to set the default value for the date field to the current date.

To set the default value of the date Selection control to the current day, double-click the control and click "Default Value" in the property tab of the functional area ". Select the function generator on the right.

Select "insert function", find the now function under the "Date and Time" category, and double-click. Click OK to return to the form. Now, when you open this form, the date of the day is automatically entered.

When today () or now () is used, this date value is updated each time the form is opened. Unless you deselect the "Refresh value when recalculating the formula" check box ".Remember to cancel this check.

Today () And now ()

Both today () And now () can be used to set the default value of the date selector. However, your form type determines which one you choose.

-When you have a field that only contains a date, use today ()

-When you need a field of the date and time type, use now ()

Generally, now () is used for Sharepoint list forms (). Use today () when used in the form library or purely for the purpose, unless you have changed the data format to the date and time type.

Set current user

You must use the field task panel to set the default value for the user/group selector. You can click "display fields" under the Data tab of the functional area to bring up the field panel. Expand the user/group selector field (outby in this example ). Right-click "accountid" and select "attribute"

In the default value, select the function generator and enterUsername ().

Make sure that the "Refresh value when recalculating the formula" option is deselected. Otherwise, the rule runs only once and is not executed every time the form is opened. Click OK.

Repeat the same process for displayname (optional) for optimal results. The value of the staff selector is now the user who opens the form by default.

When we load the form in Sharepoint, the date, specification, and operator fields are all filled. On the basis of completing half of the fields, the employees responsible for chartering can rent out the boats in very little time.

I hope these tips will save you time filling out the form!

Address: http://www.cnblogs.com/Sunmoonfire/archive/2010/08/11/1794106.html

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.