Good Morning everyone,
if I am not mistaken the right way to implement a "required" in html5 is like this:
<input type="text" name="name" size="20" required>
Is there any way to get this done with the Form classes? I am only able to do something like this:
$this->name = new Element\Text('name', [ 'name', 'size' => 20, 'requred' => 'whatever' ...
<input type="text" name="name" size="20" required="whatever">
Which appears to work but is not as clean as I wish it would be.
Best regards Ludwig