Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

WebView.GetFormCount

Returns the number of forms on the website which is currently visible in the web viewer.

Component Version macOS Windows Linux Server iOS SDK
WebView 1.6 ✅ Yes ✅ Yes ❌ No ❌ No ✅ Yes
MBS( "WebView.GetFormCount"; WebViewerRef )   More

Parameters

Parameter Description Example
WebViewerRef Either the Web Viewer Object Name or the Web Viewer ID as returned by "WebView.FindByName" function.

Result

The number of forms found on the website.

Description

Returns the number of forms on the website which is currently visible in the web viewer.
May not work for websites with frames.

Alternative you can run JavaScript to query document.forms.length yourself.

See also

This function checks for a license.

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


WebView.GetFormButtonValue - WebView.GetFormInputChecked