3 declare(strict_types=1);
    25     $ui = $DIC->ui()->factory();
    27     $request = $DIC->http()->request();
    31     $radio = $ui->input()->field()->radio(
"Radio", 
"Cannot check an option")
    32         ->withOption(
'value1', 
'label1')
    33         ->withOption(
'value2', 
'label2')
    34         ->withOption(
'value3', 
'label3')
    39     $form = $ui->input()->container()->form()->standard(
'#', [
'radio' => $radio]);
    43     if ($request->getMethod() == 
"POST") {
    44         $form = $form->withRequest($request);
    45         $result = $form->getData();
    47         $result = 
"No result yet.";
    52         "<pre>" . print_r($result, 
true) . 
"</pre><br/>" .