auto_stories Knowledge Base chevron_right Form chevron_right Article

Switch

It is the tool that enables selection in the form of ‘’Yes – No’’. Saves value in bit format.

b36.jpg

Switch tool icon at Toolbox

 

b37.jpg

How it looks like on the Canvas

 

Compatibility

Free Form Responsive Form Mobile
icons8-check-circle-48.png icons8-check-circle-48.png icons8-check-circle-48.png

 

 

Properties

Properties of the form tool;

b38.jpg

 

  • Name: The name of the tool will be written here.

  • Default Value: The value entered here comes into the tool by default.

  • Help Text: It is the text that is entered for comment when the mouse is placed on the tool.

  • Height / Width: Adjusts the height and width of the tool (The width field has been removed from Responsive Forms).

  • Left / Top: Adjusts the distance of the tool from the left and top (This field has been removed from responsive forms).

  • Linked Object: Links to an object element created by action. When the object element runs, the information is filled in according to the object area.

  • Linked Object Area: Selects the fields within the linked object area.

  • Pin Right: Pins the tool to the right.

  • Display: Makes the tool not appear on the screen.

  • Form Only: The information entered in the tool is not saved to SQL, but only in form.

Actions

  • When the value changes: Assign an “Action” as on value changes handler. For more information please click here.

 

Examples Used

It is the tool that allows you to choose True or False in the client. Saves the value in bit format. It is saved to the database as 0 or 1.

mceclip0.png

Client view on-screen as True

 

For instance, if you want to trigger the switch tool via the drop-down box tool, you can write two values as True or False in the drop-down box values. Also, you must create an action on the drop-down box tool with Update Value operation for the switch.

 mceclip1.png

Client view on screen for the example