public function inputStringPreparer($config)
    {
        $inputString = '';
        $beforeAfterCondition = ($this->before($config) > '' || $this->after($config) > '');
        $method = $this->getGeneratorMethod($config['inputType']);

        if ($beforeAfterCondition) {
            $inputString .= '<div class="'.config('form-maker.form.before_after_input_wrapper', 'input-group').'">';
        }

        $inputString .= $this->before($config);
        $inputString .= $this->inputStringGenerator($config);
        $inputString .= $this->after($config);

        if ($beforeAfterCondition) {
            $inputString .= '</div>';
        }

        if (config('form-maker.form.orientation') == 'horizontal' && !in_array($method, $this->selectedMethods)) {
            return '<div class="'.config('form-maker.form.input-column', '').'">'.$inputString.'</div>';
        }

        return $inputString;
    }