Skip to main content

Buttons

tip

Use the buttons module to show solo buttons with text block in scena.ai widget. Background media will be the same as on the last media module.

Adding buttons

Add buttons by clicking on + Add Button.

You can enter any text and format it or add a URL via the context menu on the button. The URL will redirect the user to the webpage provided.

To edit the button text, click inside the button field.

Switch the button order simply by dragging each button.

Attach the file to the button

This feature allows you to attach a file as downloadable content.

  1. In the button area, click on the context menu button and select URL.
  2. In the new window, click on the Attach Storage File button.

Assign variable to the user

This feature allows you to assign variables to the user without the need to use the variable module.

  1. Navigate to the top right corner, click on the context menu button (3 vertical dots).
  2. Click on Assign to variable and select variable:
    1. Numeric variable - if selected, the user will be assigned a value based on the button he selected.
    2. Text variable - if selected, the user will be assigned the variable with the value = button text
How to use Numeric variables

If the user clicks on the Option B button, he will be assigned variable quiz = 1.

If the user repeats his action in other modules with the assign to variable quiz, the value will be added to the current variable.

So for example, if the user cycles 3 times through the media module on the right side, and clicks always on the Option B button, the result will be 1+1+1=3, so the final variable will be quiz ⇒ 3.

Values of the buttons for Numeric variables:

Button #ValueButton text
10Option A
21Option B
...

Values of the buttons for Text variables:

Button #ValueButton text
1Option AOption A
2Option BOption B
...