source/php/Shortcodes/SubmitForm.php
public function submitFormCallback($atts = [], $content = null, $tag = '')
    {
        // Normalize attribute keys, lowercase
        $atts = array_change_key_case((array)$atts, CASE_LOWER);

        // Override default attributes with user attributes
        $data = shortcode_atts([
            'user_groups' => '',
        ], $atts, $tag);

        $data = array_merge($data, \EventManagerIntegration\Helper\SubmitEvent::geFields());

        return \EventManagerIntegration\Helper\RenderBlade::blade(
            'formfields',
             $data,
            EVENTMANAGERINTEGRATION_PATH . 'source/php/Module/SubmitForm/views/'
        );
    }
public function submitFormCallback($atts = [], $content = null, $tag = '')
    {
        // Normalize attribute keys, lowercase
        $atts = array_change_key_case((array)$atts, CASE_LOWER);

        // Override default attributes with user attributes
        $data = shortcode_atts([
            'user_groups' => '',
        ], $atts, $tag);

        $data = array_merge($data, \EventManagerIntegration\Helper\SubmitEvent::geFields());

        return \EventManagerIntegration\Helper\RenderBlade::blade(
            'formfields',
             $data,
            EVENTMANAGERINTEGRATION_PATH . 'source/php/Module/SubmitForm/views/'
        );
    }
Return form markup
@param array  $atts    Attributes
@param string $content Content
@param string $tag     Shortcode name
@return string Form markup