auto_stories Knowledge Base chevron_right Actions chevron_right Article

Change Properties

This operation allows us to change some properties of the controls in the form according to a certain condition.

mceclip0.png

Change Properties operation at Property Panel

 

Properties

- Condition: Specifies the condition under which the information to be written in the Value field is checked.

- Description: A description of the action is written.

- Value: Write the information about the value of the field to which it is connected.

- Fields: The fields whose property is to be changed are written.

- SQL Query: A SQL query that determines whether the action should run. The Value and Condition fields are not available when this field is used. If the result from the query is 1, action will be performed and 0 if not.

- Type: Select which property of the selected fields to change. The properties in the Type field are: Passive – Active – Hide – Visibility – Can not be empty – Optional – Trigger Value Changing – Change Background– Change Text Color – Change Text Type – Change Text Size – Files can not be added – File can not be deleted

- Run Condition: If the value in the query entered in this field is ‘0′, the corresponding action will not run.

- Request Confirmation: Select whether to ask for confirmation before running the action. If Request Confirmation is activated, the Confirmation Message feature is turned on and the message that will be displayed when requesting confirmation is written.

 

Example Used

For example; There are a label and a textbox. When the value of the textbox changes, the background color of the label will be red.

mceclip1.png

For this, you can create an operation for the textbox. It contains When the value changes and Change Properties operation.  The other properties are as below.

mceclip2.png

If you write the value as 10  in the textbox according to the operation, the label will be red color.

mceclip3.png

Client view on screen

 

If you write the value as 1500  in the textbox according to the operation, the label will not be red color.

mceclip4.png

Client view on screen