Adding markup and rendering required fields individually