Brr_io.Form
Form elements and form data.
The type for HTMLFormElement
objects.
of_el e
is a form from element e
. This throws a JavaScript error if e
is not a form element.
accept_charset f
is the charset accepted by f
.
autocomplete f
refelects the value of the autocomplete attribute of f
.
val no_validate : t -> bool
no_validate f
refelects the value of the novalidate attribute of f
.
val check_validity : t -> bool
check_validity f
is true
if the form's children controls all satisfy their validation constraints.
val report_validity : t -> bool
report_validity f
is like check_validity
but also reports problems to the user.
request_submist f el
requests the form to be submited using button el
or the form itself if unspecified.
module Data : sig ... end
Form data.
module Ev : sig ... end
Form events