EntreeServer.Module.EntreeFormItem
Product Information

Technical Requirements

Installation

Management
- How To Test
Farm Administration Tasks
Site Administration Tasks
Troubleshooting

Customization

Programming Reference

The EntreeFormItem class is the base class for all form controls. It inherits from the
EntreeListItem class and so contains all methods and properties of that class. In addition, it has the following unique methods and properties.
The EntreeFormItem can optionally be built based on any of the out-of-the-box SPField types in a SharePoint List. See the EntreeListGroup method ... for information on this.
Properties
-
FormKey
The unique key for this form item in an HTML form. This needs to be unique for each from item in an EntreeListObject object.
-
Name
Generic form label property.
-
Value
Generic form value property in string format.
Example
EntreeListGroup TheGroup = output.AddListGroup();
EntreeFormItem TheFormItem = TheGroup.AddFormItem("MyFormKey");
TheFormItem.ListItemStyle = EntreeFormItemStyles.text;
TheFormItem.Name = "Form Label";
TheFormItem.Value = "Form Value";

Note: This example used the generic EntreeFormItem, you can see the same product using EntreeTextBox.