{!! Form::hidden(
$name.'[' . $prefix . ']'.'[required]',
0
) !!}
{!! Form::checkbox(
$name.'[' . $prefix . ']'.'[required]',
1,
(isset($custom_group->required) && $custom_group->required ? true : false)
) !!}
{!! Form::label(
'data[Settings][content][direct_checkout]',
'Required field?'
) !!}