[Moss development]: infopath2007 form creation, publishing, and application with managed code

Source: Internet
Author: User

infopath2007 Simple Description:

InfoPath services It is a server technology that allows users to view the form directly in a browser and fill out a form, and it is important that users do not install the info path client. Enterprises can use it as a basis for data acquisition and process approval. The biggest difference between the infopath07 and the 03 version is the ability to get out of the InfoPath environment and publish to the browser. An InfoPath form can interact as an interface designer and data presentation, it contains very rich controls, and includes rules for controls and data validation, and it's nice to be able to validate the data when the user submits the form based on the generated JS script and without refreshing.

InfoPath form creation:

An InfoPath form can be a completely code-free form, or it can be an InfoPath form with managed code. A form with code needs to be developed by a tool called VSTA. Here I would like to talk about the form with code.

Create a form with code:

1: Use the Office component InfoPath to customize the form and write the relevant logical code through VSTA;

2: Create an InfoPath form project through VS05 or 08.

The following is mainly about the application of the first method and the place to pay attention to.

Part One: Creating a form with code needs to be noted for several aspects:

1: Form compatibility, the form is ultimately displayed to the user, and most of the presentation is in the Web, all created forms to be displayed in the browser. The steps are as follows:

1): Design Tasks-Check the design, as shown in the following figure, here you can verify that the program is correct.

2): In the Form Options window, make sure the red part of the picture is ticked.

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.