Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The HTML Item can be used to render your own custom HTML within your form.

Referencing the BO

It is possible to reference the BO object from custom javaScript within an HTML item. The NitroApplication object is the highest level object for the application. From there you will have access to all its functions. The following will set the form’s value to the value of the input in the HTML item when it changes:

Code Block
<input type="text" id="name" 
  onchange="NitroApplication.getForm('F_Form1').getBO().F_SingleLine1.setValue(this.value);">
</input>

Customized HTML Table

One of the ways that I like to use it is to provide a custom rendering of a table which can provide an interactive view. This has become a staple in any application that requires a dashboard/inbox view.

...