Version: v0.7.0 - 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()
//= e.g. 'contactForm'

See Also