FredTek

Display Field Properties - UserDefinedHTML

This property can be used to add HTML or text to the normal display of the item. If this field is defined, NetDynamics will use the value to generate the HTML for the field.

Example:

Change display field ST_MYSTATE so that it displays a comma with name of the state. (So that, after modifying the ST_MYSTATE_onBeforeDisplayEvent, no extra commas are displayed when the state is blank.)

Procedure:
  • Edit this property by clicking inside the field, then clicking the down-arrow.
  • When the editor appears, select the ‘Default’ button. This will place the spider tag for the field in the editor.
  • Now, place any additional text and HTML around the spider tag. BE VERY CAREFUL TO NOT MANGLE THE SPIDER TAG!!!! For this example, modify the contents of the editor window to read
    , **ST_MYSTATE**
Note:

You may also put HTML around the value here, but you must set HtmlEscaping to ‘False’