Components Flex



             
            source="{nameTxt}"
        property="text"
        required="true"/>
             required="true" 
         source="{surnameTxt}" 
         property="text"
         requiredFieldError="Your Surname is a required field." />