There are often such demands. For example, if you select a major category: China, there will be a small category: provinces, provinces, and cities.
This is very well-configured for infopath and does not need to be written. ProgramIn this example, we need:
Create an infopath form template, which includes the drop-down list "category", "category", "Product Name", and text box "unit price". This template is from the product list (product name, category, small Class, unit price) read the information of a category. When you select a specific category, the drop-down box of the next category will show all the small classes under the category, products of this category are also listed in the product name list box. After the product is selected, the unit price is automatically displayed.
This mainly utilizes the filter function of the infopath drop-down list box. However, this function is not supported by infopath form service. If you want to implement this function in a browser, we recommend that you write vsta.Code.
Example URL: http://www.sharepoint.org.cn/dosboy/default.aspx
ArticleHttp://www.sharepoint.org.cn/dosboy/blog/Lists/Posts/Post.aspx? Id = 2