Skip to content

parseNewStateForm

parseNewStateForm(html): NewStateForm | undefined

Defined in: packages/simply-settings-core/src/address/newStateForm.ts:184

Finds the “Configure New State” form in a /i18n/ConfigureNewState.apexp page.

string

The page.

NewStateForm | undefined

The form, or undefined if no form has all four expected fields — the signal that Salesforce changed the page (or that this isn’t the page at all, e.g. a login page).