Skip to content

form.clear

since 1.1.0

Clear the current form.

form.clear()

Parameters

None.

Returns

Nothing.

Examples

From the official Ethos documentation
form.clear()

Used in

Real-world usage

Called 227 times across 9 open-source Ethos Lua projects. A few short excerpts:
liveFields = {}
form.clear()

src/wfsuite/app/pages/adjustments.lua:545

if form and form.clear then
    form.clear()

src/rfsuite/app/controllers/form_host.lua:97