Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Additionally, you can add multiple actions to the Form, such as buttons. One of these actions can be designated as the primary action, allowing you to define the main function or submission behavior of the Form.

...

...

Attributes:

Attributes are the options available for each component, allowing you to customize its appearance and functionality. They help you tailor the look and behavior of your components to fit your needs.

...

Reference:
Reference:

Attribute Name

Description

Component Size

  • This allows users to modify the size of a section within the layout according to the grid size.

  • This feature allows for flexible customization, enabling users to resize components to fit their specific needs within the defined grid structure.

Info

Note: Currently, we support Component Size 1 for Section. All other sizes will throw an error alert displaying Max allowed value is 1.

Padding Location

"Padding Location" typically refers to the configuration of spacing around elements

Padding Size

"Padding Size" refers to the amount of space added inside an element, between the element's content and its border or edge.

Margin Location

"Margin Location" refers to the spacing around the outside edge of an element

Margin Size

"Margin Size" refers to the amount of space around the outside edges of an element,

Style

  • It is used to apply custom styles to section, such as color, font, size, and more.

  • It allows you to define the appearance of a component by specifying CSS properties directly within the attribute.

  • You can explore more about Styles attribute

Classes

  • It is used to apply SLDS classes to section, if needed.

Layout Type

It is used to set the layout type in two ways as:

  1. Grid: The Grid Layout Type provides a grid-based layout system consisting of rows and columns. This layout type simplifies the process of designing and structuring a layout, allowing for precise placement and alignment of components within the grid.

  2. Flow: The Flow Layout Type is used for positioning and formatting components within a layout. This layout type allows components to be positioned in relation to each other.

Info

Note: By default, this attribute is set to a value of Grid Layout Type.

You can explore more about Layout Type attribute.

Grid Size

This feature allows you to display elements inside the tab. If you choose a grid size of 2, the elements will be arranged in two sections.

Hide space checkbox

When marked as true, this option removes the space between fields within the form component.

Visibility Type

It determines whether a component is visible on the layout. It offers the following visibility types:

  1. Always: The component will always be visible.

  2. Conditional: The component's visibility is determined based on specific criteria, which can make it either visible or hidden as needed.
    You can explore more about Visibility Type attribute

info

Reference:

Read Only Type

It specifies whether a component can be edited by users. It offers the following options:

  1. Never: The component will always be editable at any time.

  2. Always: The component will never be editable.

  3. Conditional: The component's editability is determined based on specific criteria, which can make it either editable or read only as needed.
    You can explore more about Read Only attribute

Info

Disability Type

It determines whether a component is disable on the layout. It offers the following visibility types:

  1. Never: There is no disable option for this component

  2. Always: The component will always be visible.

  3. Conditional: The component's visibility is determined based on specific criteria, which can make it either visible or hidden as needed.
    You can explore more about Visibility Type attribute

Info

Visibility and Components Attributes:

Attribute Name

Description

Visibility Type

It determines whether a component is visible on the layout. It offers the following visibility types:

  1. Always: The component will always be visible.

  2. Conditional: The component's visibility is determined based on specific criteria, which can make it either visible or hidden as needed.
    You can explore more about Visibility Type attribute

Component Label

It simply shows the name of the component.

Field Layout Configuration

...

Info

Note: After adding fields to the form, you can configure specific fields. The table below shows all available attributes.

Form Fields Attributes:

...

Basic Attributes:

image-20240820-070302.png

Attribute Name

Description

Label

A Label is the name shown to users and can come from various sources.

Info

Reference: Source Type

Place holder

This is a hint or example text displayed in an input field before the user enters their own data.

Layout

Field Layout allows you to arrange fields on the form.
For more details check this

Info

Reference: Field Layout

Hide Space Checkbox

After marking this checkbox as true, it will crop the extra corners of the fields.

...