> For the complete documentation index, see [llms.txt](https://droplet-systems.gitbook.io/syncsession/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://droplet-systems.gitbook.io/syncsession/setup/cards-and-custom-fields.md).

# Cards & Custom Fields

Setting up your cards in Trello is a pretty straightfoward process. Your card should have a due date which will be when the session starts.\
\
The fields that you put inside the Configuration file should be put in the description, an example is shown below.

![](https://2541524512-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkQc5lwe67S1RccM7BbLX%2Fuploads%2FjvbaY6Lwxec4PQyxDTVi%2Fimage.png?alt=media\&token=a5ff0341-f9c2-4929-b931-c289a7537215)

## Custom Fields

Creating custom fields is easy! Just add a table entry to the `Fields` table.

{% code title="Configuration" %}

```lua
Fields = {
    {
        Argument = 'Type',

        Image = nil,
        ImageColor = Color3.new(255, 255, 255),
        GetImage = nil,

        Value = 'This is a <b>%s</b> session.',
        GetValue = nil
    }
}
```

{% endcode %}

As you can see, this will make `Type` the argument, so in Trello you would do `Type: Training Session`, value is what is shown on the board, in this case, it would say: "This is a Training Session.", `%s` is always the value passed through from Trello.

What if I didn't want it to say "This is a Training Session.", and instead wanted it to say "This is a training session."? You could use the GetValue argument!

{% code title="GetValue" %}

```lua
GetValue = function(Value)
    return "This is a "..string.lower(Value).."."
end
```

{% endcode %}

The code shown above returns `This is a training session.` Your `GetValue` function should always return a string, you can see some more examples in the host field.

Don't want to set a specified image? You could use the `GetImage` argument!

{% code title="GetImage" %}

```lua
GetImage = function(Value)
    local Number = tonumber(Value) + 20

    return "rbxassetid://"..Number
end
```

{% endcode %}

`Value` is the value that is passed through on Trello.
