NOTICE: You are in the old ClientSpace Help system. Please link to the new ClientSpace Help here https://extranet.clientspace.net/helpdoc/home/ClientSpace.htm

Required Field Business Rules

Summary

Oftentimes you will want to require a dataform field be filled out, but only under certain conditions, so making the field required at the dataform level is not a good solution.  That's where the Required Field business rules come into play. 

 


 

Required Field Rules
  •  _RequireFieldOnThisForm - will check for a value in a field on the current form.      
    • parameter: sFieldName
  • _RequireTabField - will check for a value in a field on a related tab.      
    • parameters: sTabTableName and sFieldName
  • _RequireAdHocField - will check for a value in a field that resides in a node thats embedded in the dataform xml packet.     
    • parameters: sFieldPath and sFieldLabel

 

So, for example, there could be an Org node (like on the PEO Client Master), and you'd want to require the Source field. In that case the parameters would be filled in like this:    sFieldPath:  Org/crSource    sFieldLabel: Source

NOTICE: You are in the old ClientSpace Help system. Please link to the new ClientSpace Help here https://extranet.clientspace.net/helpdoc/home/ClientSpace.htm