For some reason I'm limited to the size of email I can send and seems rather 
limited

! ----------------------------

command checkForFieldDataValidation
   
   global PLNListingDetailArray
   local tArrayElement
   
   put false into gFailedEntry
   
   repeat for each element tArrayElement in PLNListingDetailArray 
      if ValidateDataEntry( tArrayElement[1]) = true then
         put true into gFailedEntry
         focus on field tArrayElement[1]
         exit repeat
      end if
   end repeat
   
end checkForFieldDataValidation

! ----------------------------

function ValidateDataEntry pFieldName

   local tRtnValue

   put false into tRtnValue

   if PostValidation( pFieldName ) = true then
      if CheckForEmptyField( pFieldName ) = true then
         ShowValidationError( pFieldName )
         put true into tRtnValue
      end if
   end if
   
   return tRtnValue

end ValidateDataEntry

! ----------------------------

_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to