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

Form.getFormId

$form.getFormId() -> string

Description

Get the form’s formId.

$form = Form.create('commentForm', {
    comment: {
        rule: 'comment|max:1000'
    }
})

$form.getFormId()
//= 'commentForm'

See Also