Button Component designstudio pro icon

Button Component

The Button component inserts a button on the form. The default button is black and contains the word Submit; however, you can change its appearance and label.

While you can customize the Submit button that automatically appears at the bottom of the form, do not delete it, or change its label.

Example of a Button Rendered on a Form

Button Example

Settings

The settings for each component are grouped under tabs. While there are multiple tabs and many fields, some are applicable to advanced users (for example, the API and Conditional tabs and JSON fields) and you do not need to complete them to render the component. For this reason, the settings that are necessary are detailed for each component. In some cases, when an optional field is frequently used, it is listed in a second optional settings table. For tabs and fields that are not listed, advanced users are assumed to have pre-existing knowledge of how to work with them if they elect to apply them; however, they should be aware that the fields may not be compatible with WebEOC. Contact the Juvare Support Center at +1 (877) 771-0911 for additional information.

Button Component Settings Window

The following setting is necessary to render the component:

Button settings fields (required)

Field

Description

Procedure

Label

(Display tab)

Text that appears on the button. Unlimited alphanumeric characters, including special characters.

The following settings are frequently used but are optional:

Button settings fields (optional)

Field

Description

Procedure

Theme

(Display tab)

Color used to render the button.

Select one of the following options:

  • Primary: Black

  • Secondary: Grey

  • Info: Blue

  • Success: Green

  • Danger: Red

  • Warning: Amber

Size

(Display tab)

Size of the button and its label.

Select one of the following options:

  • Small

  • Medium

  • Large

Block Button

(Display tab)

Enlarges the button size to the width of the container. This option is useful for mobile devices.

  • Select the checkbox to enlarge the button.

  • Clear the checkbox to return the button to the default size.

Icons

The following tool icons are available:

Tool icons and descriptions
Icon Name What it Does Procedure
Settings Icon Settings Displays the settings window, in which you can modify the component’s settings.

To modify settings

  1. In the Design area, move the mouse pointer over the component. A toolbar appears on the top right. The icons that appear depend on the component.

    Form Icons

  2. Click the Settings icon.

  3. Modify the fields as needed. See Add Form Components.

  4. Click Save.

Move Icon Move

Moves the component to another position on the board.

This option is useful with touch pages. If you are not using a touch page, you can drag the component to its new location.

 
Copy Icon Paste Icon

Copy

Paste

Copies the current component and its settings and pastes it after the current component.

To copy the component

  1. In Design mode, click the component on the canvas. A toolbar appears on the top right.

  2. Click the Copy icon.

  3. Click the Paste below icon. A copy of the component appears below the original component.

  4. Click the Settings icon and modify the settings for the new component.

  5. Click Save to save the new settings for the newly-copied component.

Delete Icon Remove Removes the current component from the form.

To remove the component

  1. In Design mode, click the component on the canvas. A toolbar appears on the top right.

  2. Click the Remove icon.