Websydian v6.1 online documentationOnline documentation - WebsydianExpress v3.5

CustomFieldFormatValueForOutput

Scoped name

WSYAPI/Abstract.CustomFieldFormatValueForOutput

Purpose

This function is used to implement an output format function for a custom field.

The function only has one dual parameter which contains the custom field value. When the custom field function is called the parameter will contain the value read from the database, and the function must then return the formatted value in the parameter. The returned value will then be displayed on the web page.

Examples

In the WSYAPI model, you can find three examples of implemented simple functions that inherit from CustomFieldFormatValueForOutput.

More Information