Update Form.php

Set attribute "required" to elements provided by the elements to the input filter