19 declare(strict_types=1);
48 $ui = $DIC->ui()->factory();
50 $request = $DIC->http()->request();
61 $multi = $ui->input()->field()->multiselect(
"Take your picks", $options,
"This is the byline text")
65 $form = $ui->input()->container()->form()->standard(
'#', [
'multi' => $multi]);
69 if ($request->getMethod() ==
"POST") {
71 $form = $form->withRequest($request);
72 $result = $form->getData();
74 $result =
"No result. Probably, the other form was used.";
77 $result =
"No result yet.";
82 "<pre>" . print_r($result,
true) .
"</pre><br/>" .