The Status Box control is used to display a status message on other controls, and is commonly used in conjunction with input controls.
Like almost all SPARK controls, you can trigger events that are fired when the user interacts with the control (see the Event and Methods sections below and the Event Handling article for more information).
This control is most commonly used when wanting to add a status message to other controls, and is generally attached to a typical form/input control.
Formula
Text Expression Formula text expression
Appearance
Width Width in px, %, or em
Color Style
Status Style None, Default, Dark, Simple
Float Status Enable/disable floating status bar; if disabled, status bar will move other elements out of its way
Behavior
Show Status Enable showing the status
Show Validation Errors Show status validation errors
Status as HTML Status includes html
Example
This example shows a Date Picker control inside of a Status Box control.
These are the configuration option settings...
The HTML is set in the Help area under General. The text will be italicized.
This is the result...
Events
With the Status Box Control, there are 2 types of event handlers:
- On Load When the page loads
- On Status Click When the status box is clicked
You can use JavaScript logic to affect the effects of the control, depending on the event. More information on using these controls can be found in the Event Handling article.
Methods
For detailed information on the available methods for this control, access the JS Doc file.
- Authors: Dan Abresch, Courtney Silva
- Date Created: June 10, 2015
- Date Modified: September 11, 2015
Comments