show / hide menu

Button

The Button control enables the user to associate certain actions that need to be performed form when you click on it. In ClaySys AppForms the button can be used for executing actions like save, update, delete, close form or navigate to a different form, etc.

Control Name: Button
Group: Standard

General
S.NoProperty NameData TypeDescription
1Control NameStringSpecifies a unique identifier for the control within the form.
2Control TypeStringSpecifies the type of control.
3IDStringSpecifies a unique identifier for the Button control.
4Click ActionString1.None  - If None is selected as the Click Action, no predefined action is performed when the button is clicked. This option is useful when the button action is handled through form rules.
2. Load form - If Load Form is selected as the Click Action, a “Navigate URL” property appears below. Clicking the Browse button next to the Navigate URL opens the Navigate Form window, where the user can select the form to be loaded when the button is clicked.
3. Clear – If Clear is selected as the Click Action, clicking the button clears the values of all controls on the current form.
4. Spellcheck – If Spell Check is selected as the Click Action, clicking the button opens the Spell Check window. This feature works only when the Enable Spellcheck property is enabled for the corresponding text control.
5.CloseForm – If Close Form is selected as the Click Action, clicking the button closes the currently opened form and returns the user to the previous page or the parent form, if applicable.
5TextStringSpecifies the text displayed on the Button.
6TooltipStringSpecifies the text that appears when a user hovers over the Button control. It provides additional information or guidance about the button’s purpose or action.
7Tab IndexIntegerSpecifies the tab order of the Button control within a form. It determines the sequence in which control receives focus when the user navigates through the form using the Tab key.
8RemarksStringAllows developers or designers to attach additional descriptive information or comments to the Button control for reference.
Style
S.NoProperty NameData TypeDescription
9WidthIntegerSets the suggested width or thickness of the control. It determines the horizontal size of the button.
10HeightIntegerSets the suggested height of the control. This specifies how tall the button appears in the form.
11Text Alignment(Responsive)StringSets the text alignment to left, right or center. This is available only in a responsive form.
12MarginIntegerDefines the outer spacing around the Button control.
13PaddingIntegerSpecifies the internal spacing between the content text of the Button and its borders.
14Box ShadowIntegerSpecifies the shadow effect applied to the Button control’s border.
15Enable Custom FontBooleanSpecifies whether the Button control should use a custom font instead of the default system font. On enabling this, the “Font” property below will change to “Custom Font” where the font can be provided.
16FontStringSets the font style of the text on the button.
17Custom FontStringSets the custom font style of the text on the button. This will be available only on enabling “Enable Custom Font” property.
18Font SizeIntegerSpecifies the size of the text displayed on the button.
19Font ColorStringSpecifies the color of the text displayed on the button.
20Background ColorStringSpecifies the color that fills the button’s background area.
21VisibleBooleanSets the visibility of the control while rendering.
22EnableBooleanSets the accessibility of the control during rendering.
23BoldBooleanTo make the control text Bold.
24ItalicBooleanItalicize the control text.
25Column SpanIntegerSpecifies how many columns a button should occupy in a grid.
26Corner RadiusIntegerSpecifies the roundness of the button’s corners. It allows the button to have rounded edges instead of sharp, square corners, enhancing the visual style and modern look of the UI.
27Enable BorderBooleanDetermines whether the border of the button is displayed. When set to true, the button shows a visible border according to its border properties (color, thickness, and style).
28Border ThicknessIntegerSets the border thickness on enabling the “Enable Border” property.
29Border StyleStringThe border style can be chosen from the listed options on enabling the “Enable Border” property.
30Border ColorStringThe border style can be chosen by enabling the “Enable Border” property.
Rules
S.NoProperty NameData TypeDescription
31RulesStringAfter selecting the control, If the user clicks the Rules tab it will be expanded and displays a Rules property. Create Rule can be selected from a drop down list. On clicking the Create Rule link button will navigate the user to the Rules Engine. The same control will be added as a trigger by default to execute the Rule.
Reports
S.NoProperty NameData TypeDescription
32Control ReportControl Report will redirect to the Reports tab that will display all the configurations, rules and datasources details associated with the selected control.
Template
S.NoProperty NameData TypeDescription
33Inherit TemplateBooleanSpecifies whether the Button control should inherit the visual and behavioral template from a parent or base template.
Custom Style
S.NoProperty NameData TypeDescription
34CSS ClassStringThis enables the button to adopt predefined styles from CSS, providing flexibility in visual appearance and behavior.
Custom Property
S.NoProperty NameData TypeDescription
35HTML AttributeStringThe Html Attribute property is used to assign custom HTML attributes to a Button control.
Responsive Options
S.NoProperty NameData TypeDescription
36Template NameStringRepresents the template name of the control shown in the Responsive UI configuration. The template name is the same as the control’s name.
37Max Width (px)IntegerSpecifies the maximum width, in pixels, that the control can occupy in the responsive form.