model:didSetValid:withValidationFailureText: method
   
   
   Called to inform the adapter that the field's valid state has changed. 
      Syntax
         
         
            - 
            (
            void
            ) 
            
               model
            
            : 
            (
            id< SMPOpenUIFieldModel >
            ) 
            model 
            
               didSetValid
            
            : 
            (
            BOOL
            ) 
            valid 
            
               withValidationFailureText
            
            : 
            (
            NSString *
            ) 
            text
         
      
      Parameters
         
         
            - 
               model – 
               the model
            
 
            - 
               valid – 
               YES if the field value is valid, NO for invalid.
            
 
            - 
               text – 
               the message to display to the user if the field is invalid.
            
 
         
       
      Remarks
         
         The field has either become invalid and the user needs to be informed with the validation message or valid and any previous validation failure text needs to be hidden. The validation message will contain information that tells the user why their field is invalid.