WebView.GetFormInputChecked
---------------------------

Returns the value of the specified check box or radiobutton.

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

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

**MBS**( **"WebView.GetFormInputChecked";** /\* Returns the value of the specified check box or radiobutton. \*/  
**$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 check box or radiobutton.  
### See also

- [WebView.FindByName](WebViewFindByName.md)
- [WebView.GetFormInputValue](WebViewGetFormInputValue.md)
- [WebView.SetFormInputChecked](WebViewSetFormInputChecked.md)
- [WebView.SetFormInputValue](WebViewSetFormInputValue.md)

### Example Databases

- [WebViewer/Form Fields/Formfield sample](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/WebViewer/Form%20Fields/Formfield%20sample.shtml#1GroupButton462.00000001050.0000000481.00000001165.0000000LayoutObjectAnchor_)
- [WebViewer/Form Fields/Forms Sample](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/WebViewer/Form%20Fields/Forms%20Sample.shtml#34ScriptAnchor_)

This function checks for a license.

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

  
[WebView.GetFormCount](WebViewGetFormCount.md) - [WebView.GetFormInputValue](WebViewGetFormInputValue.md)

[HTML Version](WebViewGetFormInputChecked.shtml)