# Appearance

In the ***Appearance*** section, you can configure various options related to the visual presentation of fields in the form. Although these types of properties focus on style or formatting choices that do not directly affect the functionality of the components, it is important to note that they can significantly impact their effectiveness: a clear and user-friendly design will facilitate proper management, while an unintuitive design may hinder it.

Let’s take a look at these properties for the different types of form elements. Remember that you can activate the ***Preview*** mode while working to review in real-time how your choices affect the design.

<figure><img src="https://1817123835-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6gW1YnQoR7lwDfSXSQR9%2Fuploads%2Fgit-blob-b100357cc3ce481122eca6a8f669e6825bb5d7c3%2FRPA_2_02.png?alt=media" alt=""><figcaption><p>Appearance section and location of the <em><strong>Preview</strong></em> button.</p></figcaption></figure>

## Columns and Static Elements

Both columns and static elements like ***Text*** and ***Image*** have specific properties that define their positioning on the screen. The ***Vertical align*** property is common to all of them and refers to the position of the components relative to the top and bottom margins of the section or column containing them. This property can be set to ***Top*** (aligned at the top), ***Center*** (aligned in the center), or ***Bottom*** (aligned at the bottom).

<figure><img src="https://1817123835-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6gW1YnQoR7lwDfSXSQR9%2Fuploads%2Fgit-blob-4c313501cb8882270a60f5395ef31ef260dbef24%2FRPA_2_03.png?alt=media" alt=""><figcaption><p>Options for the <em><strong>Vertical align</strong></em> property</p></figcaption></figure>

Another property that only affects columns is ***Spacing***, which refers to the vertical space between elements within the same column. The higher this value, the greater the separation between fields.

The ***Align*** property, found in both text and image fields, works similarly but defines the horizontal positioning of the content. This can be set to ***Left***, ***Center***, or ***Right***, indicating alignment to the left, center, or right, respectively.

<figure><img src="https://1817123835-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6gW1YnQoR7lwDfSXSQR9%2Fuploads%2Fgit-blob-e03f87344d1cd9c67bb12858fa95006ebdd70618%2FRPA_2_04.png?alt=media" alt=""><figcaption><p>Options for the <em><strong>Align</strong></em> property</p></figcaption></figure>

The ***Text*** field offers a richer set of options, with the following properties:

<table><thead><tr><th width="147">Property</th><th>Function</th></tr></thead><tbody><tr><td><strong>Margin</strong></td><td>With values ranging from 0 to 10, this allows you to choose the margin of free space around the text. A lower value positions it closer to other components, while a higher value increases the separation.</td></tr><tr><td><strong>Weight</strong></td><td>Allows you to set the font weight to Light, Regular, or Bold.</td></tr><tr><td><strong>Font style</strong></td><td>Allows you to select the text style as Italic or Normal.</td></tr><tr><td><strong>Text variant</strong></td><td>Offers a series of preconfigured variants with different levels for headings, subtitles, body text, and other options.</td></tr></tbody></table>

<figure><img src="https://1817123835-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6gW1YnQoR7lwDfSXSQR9%2Fuploads%2Fgit-blob-5e09a2e81e57fff75c48415de97a46dafd1ffb81%2FRPA_2_05.png?alt=media" alt=""><figcaption><p>Options for the <em><strong>Text</strong></em> field</p></figcaption></figure>

## Input Fields

Although input fields offer a wider range of options depending on their functionality, most of them include the following appearance properties:

### Mask

This property defines a structure for the requested data, determining its possible values. To use this property, you need to understand certain parameters that define the type of characters allowed in each position of the string:

* The character "a" represents any letter, meaning that when included in the mask, the user can only enter an alphabetic character in that position.
* The character "0" represents any number. When included in the mask, it only allows values from 0 to 9 in that position.

<figure><img src="https://1817123835-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6gW1YnQoR7lwDfSXSQR9%2Fuploads%2Fgit-blob-235ed56a622af4f9e0d712b9d3937d44684aa495%2FRPA_2_06.png?alt=media" alt=""><figcaption><p>Example of a mask that allows four alphabetic characters and four numeric characters</p></figcaption></figure>

* If only a specific letter or number is valid in a position of the string, you must enter the corresponding character in the mask.
* If a character in the string must specifically be "a" or "0" (since these also serve as generic letter or number placeholders), you must precede it with a backslash "\\" to ensure only that specific character is accepted.
* Other characters like periods or hyphens can be added to the mask so that the entered data adopts this format.

{% embed url="<https://www.youtube.com/watch?ab_channel=RPAConnect&v=0NfMtGJrIUQ>" %}
Example of configuring Mask with different characters
{% endembed %}

### Placeholder

Sets a default text displayed to the user in the field, which can be used to provide examples or suggestions for completing it.

<figure><img src="https://1817123835-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6gW1YnQoR7lwDfSXSQR9%2Fuploads%2Fgit-blob-ce23b2b188903b9e916f7a4b131a9d4bfedc803d%2FRPA_2_07.png?alt=media" alt=""><figcaption><p>Adding a suggestion text using <em><strong>Placeholder</strong></em></p></figcaption></figure>

### Prefix

Adds an expression as a prefix to the data entered in the field, such as the area code before a phone number.

<figure><img src="https://1817123835-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6gW1YnQoR7lwDfSXSQR9%2Fuploads%2Fgit-blob-57ed76ef32e0687d4c04c4645df7b2549098bffa%2FRPA_2_08%20(1).png?alt=media" alt=""><figcaption><p>Setting a prefix for a phone number</p></figcaption></figure>

### Multiline

You can choose the value ***True*** if you want the field to have multiple lines (for a larger text area) or ***False*** if it should be displayed in a single line.

<figure><img src="https://1817123835-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6gW1YnQoR7lwDfSXSQR9%2Fuploads%2Fgit-blob-fb7f32c8a6b54fea927db6ef1636cd140a4c2c1d%2FRPA_2_09.png?alt=media" alt=""><figcaption><p>Creating additional space by setting the value <em><strong>True</strong></em> for the <em><strong>Multiline</strong></em> property</p></figcaption></figure>

Keep in mind that some field types, such as ***Date*** or ***Attachment***, will have fewer properties or may not display this section, as they have a predefined format that does not allow variations. Other fields, like ***Options*** or ***Boolean***, will have unique properties specific to their type, as we will see later.
