WebView.GetFormInputValue
-------------------------

Returns the value of the specified Input Form.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [WebView](component_WebView.md) | [1.4](newinversion14.md) | ✅ Yes | ✅ Yes | ❌ No | ❌ No | ✅ Yes |

MBS( "WebView.GetFormInputValue"; WebViewerRef; FormNameOrIndex; FieldNameOrIndex { ; OnlyVisible } ) 

**MBS**( **"WebView.GetFormInputValue";** /\* Returns the value of the specified Input Form. \*/  
**$WebViewerRef**; /\* Either the Web Viewer Object Name or the Web Viewer ID as returned by "[WebView.FindByName](WebViewFindByName.md)" function. \*/   
**$FormNameOrIndex**; /\* Either the Name of the Form or the Index starting at 0 \*/   
**$FieldNameOrIndex**; /\* You can either pass the field name of the field indix. 0 is the first item \*/   
**$OnlyVisible**) /\* Optional; Whether to look for all fields or only the visible ones. Default is false.e.g. 0 \*/ 

### Parameters

| Parameter | Description | Example | Flags |
|---|---|---|---|
| WebViewerRef | Either the Web Viewer Object Name or the Web Viewer ID as returned by "[WebView.FindByName](WebViewFindByName.md)" function. |  |  |
| FormNameOrIndex | Either the Name of the Form or the Index starting at 0 |  |  |
| FieldNameOrIndex | You can either pass the field name of the field indix. 0 is the first item |  |  |
| OnlyVisible | Whether to look for all fields or only the visible ones. Default is false. | 0 | Optional |

### Description

Returns the value of the specified Input Form.  
### See also

- [WebView.FindByName](WebViewFindByName.md)
- [WebView.GetFormButtonValue](WebViewGetFormButtonValue.md)
- [WebView.GetFormInputChecked](WebViewGetFormInputChecked.md)
- [WebView.GetFormSelectValue](WebViewGetFormSelectValue.md)
- [WebView.GetFormValue](WebViewGetFormValue.md)
- [WebView.SetFormButtonValue](WebViewSetFormButtonValue.md)
- [WebView.SetFormInputChecked](WebViewSetFormInputChecked.md)
- [WebView.SetFormInputValue](WebViewSetFormInputValue.md)
- [WebView.SetFormSelectValue](WebViewSetFormSelectValue.md)

### Example Databases

- [WebViewer/Form Fields/Formfield sample](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/WebViewer/Form%20Fields/Formfield%20sample.shtml#1GroupButton36.00000001050.000000055.00000001165.0000000LayoutObjectAnchor_)
- [WebViewer/Form Fields/Forms Sample](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/WebViewer/Form%20Fields/Forms%20Sample.shtml#41ScriptAnchor_)
- [WebViewer/Form Fields/Hidden Fields](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/WebViewer/Form%20Fields/Hidden%20Fields.shtml#1GroupButton60.0000000380.000000079.0000000509.0000000LayoutObjectAnchor_)
- [WebViewer/Form Fields/Try fields](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/WebViewer/Form%20Fields/Try%20fields.shtml#1GroupButton54.0000000380.000000073.0000000509.0000000LayoutObjectAnchor_)

### Blog Entries

- [FileMaker and WebViewer communication](https://www.mbsplugins.de/archive/2018-08-24/FileMaker_and_WebViewer_commun/monkeybreadsoftware_blog_filemaker)

This function checks for a license.

Created 18th August 2014 , last changed 18th August 2014

  
[WebView.GetFormInputChecked](WebViewGetFormInputChecked.md) - [WebView.GetFormSelectOptions](WebViewGetFormSelectOptions.md)

[HTML Version](WebViewGetFormInputValue.shtml)