Declaration:
<? class HTMLIfInputFieldError extends HTMLTag ?>
Description:
This is a conditional tag that will display its body only if the specified form input field
did not validate (was filled incorrectly). It can be used only within the HTMLShowForm
tag. Its sole attribute, key denotes the name of the input filed in the form.
Parent Classes:
SDNode
,
SDElement
,
HTMLTag
Authors:
Methods:
-
onInit()
Override this method to do some initializing here. This method is
called by HTMLTag constructor and is a convenience method that
allows bypass constructor override. This is the ideal place to
set exposed/enabled properties. This method is called once per
tag lifetime, at the moment of tag constructor is called so
the tag cannot make any assumptions of its children nodes.
-
onOpen()
Override this to take some action (possibly modify own children state and
own attributes) and
decide whether to process the body. Please note that this method
can be called multiple times on the same instance if the tag is repeated
with the body of parent tag.
|
|