Added the ability to specify if a field is required/turn on require icon