# give/4.16.9/src/Views/Form/Templates/Legacy/optionConfig.php

GiveWP – Donation Plugin and Fundraising Platform, version 4.16.9. 31 lines.

- Page: https://pluginprobe.com/plugins/give/4.16.9/code/src/Views/Form/Templates/Legacy/optionConfig.php
- Raw: https://pluginprobe.com/plugins/give/4.16.9/raw/src/Views/Form/Templates/Legacy/optionConfig.php
- Modified: 2021-11-23T23:55:18+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/give/4.16.9/code/src/Views/Form/Templates/Legacy/optionConfig.php#L10-L20`.

```php
<?php

use Give\Form\Template\Options;

$price_placeholder = give_format_decimal('1.00', false, false);

return [
    'display_settings' => [
        'name' => __('Form Display', 'give'),
        'desc' => __('Step description will show up here if any', 'give'),
        'fields' => [
            Options::getDonationLevelsDisplayStyleField(),
            Options::getDisplayOptionsField(
                [
                    'modal' => __('Modal', 'give'),
                    'reveal' => __(
                        'Reveal',
                        'give'
                    ),
                ]
            ),
            Options::getContinueToDonationFormField(),
            Options::getCheckoutLabelField(),
            Options::getFloatLabelsField(),
            Options::getDisplayContentField(),
            Options::getContentPlacementField(),
            Options::getFormContentField(),
        ],
    ],
];

```
