# Form Builder (Premium)

Zero One Form Builder is a product of cooperation between us and Roman Gsponer, creator of the [Kirby Form Block Suite plugin](https://github.com/youngcut/kirby-form-block-suite).

**This is a special, customized, and extended, version of his plugin and requires a special license.** Our Form Builder is only usable with Zero One and has a special discounted price. License is only acquired from within the Zero One Form Builder block panel.

**If you need support for Zero One Form Builder you can only** [**write to us**](https://www.one.thezero.club/support), Roman is not responsible for Zero One Form Builder support.

Check out the video tutorial below on how Form Builder works:

{% embed url="<https://www.youtube-nocookie.com/embed/8pAy-Ggn7vI?si=M2ijtDAHY6m7_Ift>" %}
Form Builder Preview
{% endembed %}

### Sending email

**By default the sending email is**: `no-reply@[the root url of your website]`

If you want to add custom address, add the code below in the [config](https://www.one.thezero.club/installation/config-options#multi-environment-setup), of course with your data

```json
'plain.formblock' => [
    'from_email' => ["info@example.com" => "John Doe"]
],
```

### Config options

Learn more about all possible Form Builder Config options

{% embed url="<https://github.com/youngcut/kirby-form-block-suite?tab=readme-ov-file#config>" %}
Form Builder Config options
{% endembed %}

### Email server setup (Sending issues)

If your server allows sending PHP emails, everything will work out of the box.&#x20;

But for security reasons more and more servers don't allow this, so you need to connect your Kirby website to your email SMTP server. So you will need to add some Kirby Config Email options to your website config file.&#x20;

Learn more about possible options:

{% embed url="<https://getkirby.com/docs/reference/system/options/email>" %}
Kirby Config Email options
{% endembed %}

### Translating messages

Although we added some options in the Form Builder block itself, there are some that you will need to translate by adding options to your website Config file.

Learn more about it:

{% embed url="<https://github.com/youngcut/kirby-form-block-suite?tab=readme-ov-file#translations>" %}
Translating messages
{% endembed %}

***

### Known issues

Premium Form Builder can have some issues in some hosting environments.&#x20;

#### Form disappears after submitting

This means that your hosting environment doesn't allow symbolic links, which are needed for some Form Builder scripts responsible for dynamic form validation (for errors without page refresh).&#x20;

To fix this, you need to disable dynamic form validation by adding the following code to your Kirby config file (we suggest using [multi-environment](https://www.one.thezero.club/guide/installation/config-options#multi-environment-setup) config):

```php
'plain.formblock' => [
  'dynamic_validation' => false,
],
```
