Bowmark AIdocs

Inspect a web form and count its fields

Fetches a public web page and inventories every visible form field: its label, name, type and required-ness.

Fetches a public web page and inventories every visible form field: its label, name, type and required-ness. Read-only: it never fills or submits a form.

Also known as: open a form, form fields, form fields count, count form fields, count form fields on a website, inspect form fields, application form fields, loan application form, what does this form ask

Call it

bowmark.web_form_fields.getFields(url: string): Promise<FormInspectionResult>

Functions

FunctionWhat it does
getFieldsReads a public page and returns its forms plus a total field count.

Types

interface FormField { name: string | null; label: string | null; type: string; required: boolean }
interface InspectedForm { action: string | null; method: string; fields: FormField[] }
interface FormInspectionResult { url: string; title: string | null; forms: InspectedForm[]; fieldCount: number; warnings: string[] }

Examples

const result = await bowmark.web_form_fields.getFields("https://example.com/apply");
return { fieldCount: result.fieldCount, fields: result.forms.flatMap((form) => form.fields), warnings: result.warnings };

Providers behind it

None — this capability needs no site. It computes the answer, or reads a public API that publishes it.