Uiinfrastructure API Docs  
 

AFormDP.AddToValidationFunction Method 

This is a helper method that adds a function to the client side page validation. If this is not called, then a blank default validation function will be used. AddValidationFunction() should be called when the DisplayPage is first being constructed in the Activity Space. It should not be called each time the page is being displayed. The function name should be just the name of the function without parentheses or semicolons. I.E. myValidateFunction, which will be called by AFormDP as myValidateFunction(). These functions should return true if the page is valid, or display an error message and return false if the page is invalid.

public void AddToValidationFunction(
   string functionName
);

Parameters

functionName

See Also

AFormDP Class | com.plumtree.uiinfrastructure.form Namespace