Cheat Sheets/Power Apps/ResetForm
Power Fx function

ResetFormPower Fx function reference

Discard unsaved changes.

Syntax

powerfx
ResetForm( Form )

Examples

powerfx
ResetForm(frmEdit)
Form cleared
powerfx
ResetForm(frmTask); Navigate(scrList)

Illustrative — set directly as a Cancel button OnSelect in Studio.

powerfx
Cancel.OnSelect = "ResetForm(frmTask)"

Common mistakes & gotchas

Related Power Fx functions

From Forms

Used in these tutorials

← Back to the Power Apps (Power Fx) cheat sheet