Widgets
Samples
Demos
Forum
Services
Documentation
adjust
attachEvent
bind
blockEvent
blur
callEvent
clear
define
destructor
detachEvent
disable
enable
focus
getChildViews
getCleanValues
getDirtyValues
getFormView
getNode
getParentView
getScrollState
getTopParentView
getValues
hasEvent
hide
isDirty
isEnabled
isVisible
load
mapEvent
markInvalid
parse
queryView
refresh
render
resize
scrollTo
setContent
setDirty
setHTML
setValues
show
sync
unbind
unblockEvent
Start
API Reference
ui.htmlform
Methods
clear
restores initial form values
void
clear
( [
boolean
all
] );
all
boolean
if true, all form fields are completely cleared
Example
function
clear_form
(
)
{
$$
(
'myform'
)
.
clear
(
)
;
}
Related samples
Binding to List
See also
Articles
HTMLForm and Form Treatment
Back to top