Version: v0.7.0 - 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