Power Fx function
frm.Error — Power Fx function reference
Read the last submit error.
Syntax
powerfx
Form.Error
Examples
powerfx
frmEdit.Error
→ Error text or blank
powerfx
If(!IsBlank(frmTask.Error), Notify(frmTask.Error, NotificationType.Error))
powerfx
lblError.Text = frmTask.Error
Common mistakes & gotchas
- Error only reflects the last SubmitForm failure — it is blank on a fresh form and does not accumulate a history of past errors.
- For field-level messages use the individual DataCard's own Error property; Form.Error is the whole-form/server-side failure (e.g. a Dataverse business rule).
Related Power Fx functions
From Forms