# Custom Fields
- [Custom Fields](#custom-fields)
    - [Types](#types)
    - [Rules](#rules)
    - [Required](#required)
    - [Classes](#classes)
    - [Category](#category)

<a name="custom-fields"></a>
## Custom Fields
Custom Fields allow you to add additional fields to modules that support custom fields.
To add custom fields click on the Custom Fields menu. 
<a name="types"></a>
### Types
The following types are supported:
- **Textfield:** Use this for a simple 1 line text field
- **Select:** Use this for dropdowns
- **Number:** use this to restrict input to numbers only
- **Date:** Use this to restrict input to date which will have a date picker
- **Textarea:** Use this field for multiline input
- **Checkboxes:** Use this field if you want checkboxes
- **Radio:** Use this field if you want radio buttons
- **Select Table:** Use this field if you want a dropdown that uses an existing database table

<a name="rules"></a>
### Rules
Here you can put validation rules. To see the list of rules you can check [laravel documentation](https://laravel.com/docs/7.x/validation).

<a name="Required"></a>
### Required
If you want to set the field as required then set required to yes.

<a name="classes"></a>
### Classes
You can add your custom css classes here.

<a name="category"></a>
### Category
This is where you choose the page where you want the field to show up on.