Child pages
  • ELEMENT_TYPES
Skip to end of metadata
Go to start of metadata


Constants Summery
String #BUTTON
Constant representing an element of the Button type.
String #CALENDAR
Constant representing an element of the Calendar type.
String #CHECK
Constant representing an element of the Check type.
String #GROUP
Constant representing a Group of elements.
String #IMAGE_MEDIA
Constant representing an element of the ImageMedia type.
String #LABEL
Constant representing an element of the Label type.
String #PASSWORD
Constant representing an element of the Password type.
String #PORTAL
Constant representing an element of the Portal type.
String #RADIOS
Constant representing an element of the Radios type.
String #TABPANEL
Constant representing an element of the Tabpanel type.
String #TEXT_AREA
Constant representing an element of the TextArea type.
String #TEXT_FIELD
Constant representing an element of the TextField type.

Constants Details
BUTTON
Constant representing an element of the Button type.
Returns
String
Sample
//the return value for an element of the Button type, as returned by the following code
var etype = elements.elementName.getElementType();
if (etype == ELEMENT_TYPES.BUTTON)
{
     // element is a Button component
}
CALENDAR
Constant representing an element of the Calendar type.
Returns
String
Sample
//the return value for an element of the Calendar type, as returned by the following code
var etype = elements.elementName.getElementType();
if (etype == ELEMENT_TYPES.CALENDAR)
{
     // element is a Calendar field
}
CHECK
Constant representing an element of the Check type.
Returns
String
Sample
//the return value for an element of the Check type, as returned by the following code
var etype = elements.elementName.getElementType();
if (etype == ELEMENT_TYPES.CHECK)
{
     // element is a Check(box) field
}
GROUP
Constant representing a Group of elements.
Returns
String
Sample
//the return value for an element of the TextField type, as returned by the following code
var etype = elements.elementName.getElementType();
if (etype == ELEMENT_TYPES.GROUP)
{
     // element is a group element
}
IMAGE_MEDIA
Constant representing an element of the ImageMedia type.
Returns
String
Sample
//the return value for an element of the ImageMedia type, as returned by the following code
var etype = elements.elementName.getElementType();
if (etype == ELEMENT_TYPES.IMAGE_MEDIA)
{
     // element is a Image Media field
}
LABEL
Constant representing an element of the Label type.
Returns
String
Sample
//the return value for an element of the Label type, as returned by the following code
var etype = elements.elementName.getElementType();
if (etype == ELEMENT_TYPES.LABEL)
{
     // element is a Label component
}
PASSWORD
Constant representing an element of the Password type.
Returns
String
Sample
//the return value for an element of the Password type, as returned by the following code
var etype = elements.elementName.getElementType();
if (etype == ELEMENT_TYPES.PASSWORD)
{
     // element is a Password component
}
PORTAL
Constant representing an element of the Portal type.
Returns
String
Sample
//the return value for an element of the Portal type, as returned by the following code
var etype = elements.elementName.getElementType();
if (etype == ELEMENT_TYPES.PORTAL)
{
     // element is a Portal component
}
RADIOS
Constant representing an element of the Radios type.
Returns
String
Sample
//the return value for an element of the Radios type, as returned by the following code
var etype = elements.elementName.getElementType();
if (etype == ELEMENT_TYPES.RADIOS)
{
     // element is a Radios field.
}
TABPANEL
Constant representing an element of the Tabpanel type.
Returns
String
Sample
//the return value for an element of the Tabpanel type, as returned by the following code
var etype = elements.elementName.getElementType();
if (etype == ELEMENT_TYPES.TABPANEL)
{
     // element is a Tabpanel component
}
TEXT_AREA
Constant representing an element of the TextArea type.
Returns
String
Sample
//the return value for an element of the TextArea type, as returned by the following code
var etype = elements.elementName.getElementType();
if (etype == ELEMENT_TYPES.TEXT_AREA)
{
     // element is a TextArea field
}
TEXT_FIELD
Constant representing an element of the TextField type.
Returns
String
Sample
//the return value for an element of the TextField type, as returned by the following code
var etype = elements.elementName.getElementType();
if (etype == ELEMENT_TYPES.TEXT_FIELD)
{
     // element is a text field
}
  • No labels