Forms. How to choose a color in a form

2 types are used for this purpose:

  • multi-color. colorCheck-select multiple colors. 
  • colorRadio - select 1 color.

In the dict procedure, we pass the color Value, and in text - the text (optional).

CREATE PROCEDURE [dbo].[fm_jb-newTask_test3_dict]
   @username nvarchar(256),
   @itemID nvarchar(128)
AS
BEGIN

	select '11' Text, '#f00' Value
	union
	select '22' Text, '#0f0' Value
	union
	select '33' Text, '#00f' Value
END

When saving a form, a colorCheck field passes comma-separated values, such as '#f00,#00f'.

Falcon Space is a functional web development platform on a narrow stack MS SQL/Bootstrap. Falcon Space Gettting started
{sp-shortDemostandLinks}

Falcon Space Platform

This is a reduction in the cost of ownership

at the expense of fewer people to support

This is a quick change

while using the program

This is a modern interface

full adaptation for mobile devices

Note