Form Button

It is the regular button widget with the ability to connect to a form and perform various actions upon submit event on the form.

Basic

Text

The text is displayed on the body of the button. It is recommended to use a short string for the text, as the button is used for triggering a command or action.

Interaction

Type

Default and Submit types are explained in the sections below.

Default

Event Handlers

Click - This is triggered when this is used as a default button and the user clicks on it.

Disabled

Disables the user interaction with the element on the page. It visually indicates that the element is inactive and prevents users from interacting with it when applied.

Hide

This sets whether the widget has to be displayed on the screen when the program is loaded. This shows/hides the widget both on desktop and mobile devices.

Loading

It will be useful when there is a process to be carried out, like running a query to fetch data, before the widget is loaded. The loading boolean value can be utilized to show the spinner till the process is complete.

Submit

'Form to Submit' will show the list of forms and the user needs to choose one to attach to the widget.

Once the form has been linked, define the submit event. This will be triggered when the user clicks the button.

Layout

Prefix Icon

Choose one from the set of icons that will be displayed as a prefix logo, just before the button text.

Suffix Icon

Choose one from the set of icons that will be displayed as a suffix logo, just after the logo text.

Tooltip

Tooltips display additional information upon mouse hover. This information will be contextual, useful, and informative. The tooltip will be immediately shown when the user's mouse hovers over the widget, and immediately hides when the user's mouse leaves.

Custom CSS

Users can write a specific style using CSS syntax here and the style text will be applied to the widget when the program is loaded.

Style

Last updated