[Form] Set "required" attribute to elements provided by the elements to the input filter

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