Version: v0.8.1 - Beta.  We welcome contributors & feedback.

Form.getSubmittedFormId

Form.getSubmittedFormId() -> string

Description

Get the formId of the submitted form.

If no form was submitted, it will return an empty string ''.

$formId = Form.getSubmittedFormId()
//= Ex: 'contactForm'

See Also