By: visaolaithe
Date: 2011-10-10
Time: 05:03
|
how to using onformat functions
Can anybody help me to use the onfomat functions template ?
|
By: Skrol29
Date: 2011-10-10
Time: 15:58
|
Re: how to using onformat functions
That's true there no example in the Manual, neither in the Example page.
Example for formating a date:
PHP:
function fct_name($FieldName, &$CurrVal, &$CurrPrm) {
$CurrVal = date('Y-m-d', $CurrVal);
}
|
HTML:
[onshow.variable;onformat=fct_name]
|
|
|
Posting in progress.
Please wait...
|