# fluentform/6.2.8/app/Modules/Form/Inputs.php

Fluent Forms – Customizable Contact Forms, Survey, Quiz, &amp; Conversational Form Builder, version 6.2.8. 37 lines.

- Page: https://pluginprobe.com/plugins/fluentform/6.2.8/code/app/Modules/Form/Inputs.php
- Raw: https://pluginprobe.com/plugins/fluentform/6.2.8/raw/app/Modules/Form/Inputs.php
- Modified: 2026-05-21T13:30:56+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/fluentform/6.2.8/code/app/Modules/Form/Inputs.php#L10-L20`.

```php
<?php

namespace FluentForm\App\Modules\Form;

use FluentForm\App\Services\Form\Fields;
use FluentForm\Framework\Foundation\Application;

class Inputs
{
    /**
     * Request object
     *
     * @var \FluentForm\Framework\Request\Request
     */
    private $request;

    /**
     * Build the class instance
     *
     * @throws \Exception
     */
    public function __construct(Application $application)
    {
        $this->request = $application->request;
    }

    /**
     * Get all the flatten form inputs for shortcode generation.
     */
    public function index()
    {
        $formId = $this->request->get('formId');

        wp_send_json((new Fields())->get($formId), 200);
    }
}

```
