Form.getFormId
$form.getFormId() -> string
Description
Get the form’s formId.
$form = Form.create('commentForm', {
comment: {
rule: 'comment|max:1000'
}
})
$form.getFormId()
//= 'commentForm'
Get the form’s formId.
$form = Form.create('commentForm', {
comment: {
rule: 'comment|max:1000'
}
})
$form.getFormId()
//= 'commentForm'