> For the complete documentation index, see [llms.txt](https://community-test.logicnets.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://community-test.logicnets.com/release-9/design-considerations-and-frameworks/frameworks/web-services-framework/include-form-parts-get-form-parts-meta.md).

# Include Form Parts: Get form-parts meta

## Description

The *Get form-parts meta* option allows you to include form parts in logicnets as part of the Web Services framework, allowing you to add to the data processing and algorithm functions that were already available in the framework.

**Node Type:** This part is a call node type.

**Used With:** This part is for use with the Web Services Framework.

## Example

There is an example project that allows you to review this feature. To download this example, go to the [Get form-parts meta Example Project](/release-9/example-gallery/example-projects-for-parts/get-form-parts-meta-example-project.md).

![](https://2802811211-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdFhfexCjZ5JMhwGzzywq%2Fuploads%2Fgit-blob-4f8603b5da85901c369fe49fee0f00a5694cdc28%2Fa22abb15-3619-4e79-8e4f-1ff1143a1b86.png?alt=media)

## Use

It is important to note that the form parts will not render HTML output as they would in an interactive web application. Instead, the meta-data of the form-parts is available so you can pass it back to the webservice client. To get this data, you use the *Get form-parts meta* function from the special option in the Designer menu.

![](https://2802811211-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdFhfexCjZ5JMhwGzzywq%2Fuploads%2Fgit-blob-2893f3c714b7f73b964742b7ec3a84e0ca00a209%2Fcef9a891-b97a-49ab-b69a-a412437b2019.png?alt=media)

This function loads into a data object the meta information of the form parts included in your logicnets, and you can include that data object in your output. The system exports the following meta-information of form parts:

* **caption**: This is the title of the form part.
* **path**: This is the path/name of the data object in which the user input is stored.
* **data\_type**: This is the expected data type.
* **form\_part\_type**: This is the form part type.
* **options**: For dropdown, checklist, or radio form parts, this lists the choices in caption/value pairs.
* on/off: For checkbox form parts, this is the value associated with the check/uncheck.
* **validation\_rules**: If a form part has validation rules, this is where the the rules are exported (type, rule, and validation message).
* **validation\_error**: This indicates any validation errors. It is 0 if there are no errors and 1 if there are errors. It is only available when there are validation rules associated with the part.
* **validation\_message**: If there is a validation error, this is the message associated with it.
* **references**: If a form part includes references to a resource, this is where the reference is exported (description, url, guid, name, path).

## Data Export Sample

The following is a sample of the export of the form parts:

```

  {

      "caption": "Text input",

      "data_type": "text",

      "path": "text_input",

      "form_part_type": "text_input"

  }, {

      "caption": "Number input",

      "data_type": "number",

      "path": "number_input",

      "form_part_type": "text_input"

  }, {

      "min": 0,

      "data_type": "number",

      "max": 100,

      "path": "slider_input",

      "caption": "Slider input",

      "form_part_type": "slider"

  }, {

      "data_type": "date",

      "caption": "Date input",

      "path": "date_input",

      "form_part_type": "datetime_input"

  }, {

      "data_type": "text",

      "path": "check_box",

      "caption": "Check box",

      "on": "checked",

      "off": "unchecked",

      "form_part_type": "checkbox"

  }, {

      "options": [{

              "caption": "A",

              "value": "a"

          },

          {

              "caption": "B",

              "value": "b"

          }

      ],

      "path": "radio_list",

      "data_type": "text",

      "caption": "Radio list",

      "form_part_type": "radio"

  }, {

      "options": [{

              "caption": "A",

              "value": "a"

          },

          {

              "caption": "B",

              "value": "b"

          }

      ],

      "path": "check_list",

      "data_type": "collection",

      "caption": "Check list",

      "form_part_type": "checklist"

  }, {

      "data_type": "text",

      "options": [{

              "caption": "A",

              "value": "a"

          },

          {

              "caption": "B",

              "value": "b"

          }

      ],

      "path": "drop_down",

      "form_part_type": "dropdown",

      "caption": "Drop down"

  }, {

      "caption": "Hello world!",

      "form_part_type": "comment"

  }, {

      "references": [{

              "description": "Logicnets",

              "url": "https:\/\/support.logicnets.com",

              "guid": "084790D4-AACE-79B2-520C-8D1154DF1202",

              "name": "Logicnets"

          },

          {

              "path": "<div>Hello hello<\/div>",

              "guid": "source1-workspace\/demo\/projects\/EAFB450434764F510C1224873C52F204-1-",

              "name": "hello hello"

          }

      ],

      "form_part_type": "show_references"

  }

```

**Validation Rules:**

```

  {

      "path": "text_input_1",

      "data_type": "text",

      "caption": "Text input 1",

      "form_part_type": "text_input",

      "validation_message": "Please fill in a name",

      "validation_error": 1,

      "validation_rules": [{

          "type": "mandatory",

          "rule": "",

          "message": "Please fill in a name"

      }]

  }, {

      "caption": "Text input 2",

      "validation_message": "Value must be 'hello'",

      "data_type": "text",

      "path": "text_input_2",

      "validation_error": 1,

      "validation_rules": [{

          "type": "custom (always)",

          "rule": "':val' == 'hello'",

          "message": "Value must be 'hello'"

      }],

      "form_part_type": "text_input"

  }

```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://community-test.logicnets.com/release-9/design-considerations-and-frameworks/frameworks/web-services-framework/include-form-parts-get-form-parts-meta.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
