Developer Function: Server Script: context.Forms
## Overview
The "「Server Script」" gets form information submitted by the user.
## Supported Versions
1. Pleasanter 1.1.28.0 or later
1. Pleasanter .NET Framework version 0.50.252 or later
## Properties
|No|Name|Get|Set|Type|Description|
|:----|:----|:----|:----|:----|:----|
|1|Keys|Yes|No|KeyCollection|Collection of form element IDs|
## Method
|No|Name|Description|
|:----|:----|:----|
|1|Item.get|Get form element value|
|2|ControlId|Get source control ID|
## Usage Example
The following example enumerates the IDs of form elements submitted by the user and outputs the IDs and values to the log.
##### JavaScript
```
for (let key of context.Forms.Keys){
context.Log(key + ': ' + context.Forms.Item.get(key));
}
```
The following example logs the IDs of the elements used by the user when submitting the form.
##### JavaScript
```
context.Log(context.Forms.ControlId());
```
## Related Information
<div id="ManualList">
<article class="s-blog_list_unit"><h2>
<h2>The specified information was not found.</h2>
<p><a href="/ja/manual">Return to top</a></p>
</article>
</div><input id="SearchTextHidden" type="hidden" value="" />