WebView.FormReset
-----------------

Resets the Specified Form.

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

MBS( "WebView.FormReset"; WebViewerRef; FormNameOrIndex ) 

**MBS**( **"WebView.FormReset";** /\* Resets the Specified 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 \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| 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 |  |

### Description

Resets the Specified Form.  
### Examples

Reset form named "myform":

 Set Variable \[ $r ; Value: MBS ( "WebView.FormReset"; "web"; "myform") \]  
### See also

- [WebView.FindByName](WebViewFindByName.md)
- [WebView.FormSubmit](WebViewFormSubmit.md)

### Release notes

- **Version 10.0**
    - Fixed bug in [WebView.FormReset](https://www.mbsplugins.eu/WebViewFormReset.shtml) function.

### Blog Entries

- [MBS FileMaker Plugin, version 10.0pr8](https://www.mbsplugins.de/archive/2020-01-11/MBS_FileMaker_Plugin_version_1/monkeybreadsoftware_blog_filemaker)

This function checks for a license.

Created 18th August 2014 , last changed 28th September 2021

  
[WebView.FindWindowByTitle](WebViewFindWindowByTitle.md) - [WebView.FormSubmit](WebViewFormSubmit.md)

[HTML Version](WebViewFormReset.shtml)