Online documentation - WebsydianExpress v3.0 |
Abstract.CustomFieldValidateValue
This function is used to implement a validation function for a custom field
The function has one input parameter which contains the custom field value that should be validated.
If the validation of the field value is successful, then the function should set *Returning status to *Successful.
If the validation fails then set *Returning status to any other value than *Successful and return an error message in the output field CustomFieldValidationError. If an error message is not returned, then the WebsydianExpress runtime will display a default error message to the user.
In the WSYAPI model, you can find two examples of implemented simple functions that inherit from CustomFieldValidateValue