Please enable JavaScript to view this site.

Process Designer

Navigation: Javascript API > User dialog functions > Dialog element functions > Properties > Change properties

jr_set_background_color(string elementName, string color)

Scroll Prev Top Next More

This function can be used to set the background color of an element.

Parameter

Type

Description

elementName

string

Name of form element

color

string

HTML color code (e.g. #aaffcc)

This function is supported for elements, for which a background color can be defined in the element properties in the form.

For SQL tables and Sharepoint tables, this function can be used to change the color of the header.

Please note: The background color of the deactivated form element cannot be changed.