JavaScript event handlers can be used to handle the user input for the custom HTML content. These event handlers have full access to the Web Central JavaScript API, and can be used to:
Sometimes it is required to display one of the form fields in a non-standard
fashion, while still using the default form functionality (refresh/save/delete/add
new). This can be done by using two field
elements
for the same database field:
The custom HTML content can also be used as a placeholder for advanced
user interface controls created "on the fly". The view can include
custom (and/or third-party) JS functions that will add dynamic content
to the static placeholder.
The JS functions can call workflow rules to obtain the data required to display the custom control, and to save the user input to the database. This technique is used to create Web Central Timeline control, and can also be used for other types of controls ranging from pure HTML/CSS/Java Script controls, to Macromedia Flash controls, to ActiveX objects.