Categories > TinyButStrong general >

Built in PHP functions

The forum is closed. Please use Stack Overflow for submitting new questions. Use tags: tinybutstrong , opentbs
By: tcwatts
Date: 2005-07-25
Time: 12:16

Built in PHP functions

Sorry, but can't seem to find anything on this. What if I want to do something basic like using strtoupper();? How/where does that integrate with TBS?
By: Skrol29
Date: 2005-07-25
Time: 12:21

Re: Built in PHP functions

Parameter 'onformat' for a single fields, or parameter 'onsection' for a record set.
By: tcwatts
Date: 2005-07-25
Time: 12:52

Re: Built in PHP functions

ok, i saw that, but not very sure how to use it...

on the HTML side, can I just do:

[var.foo; onformat=strtoupper($var.foo)]

By: Skrol29
Date: 2005-07-25
Time: 14:01

Re: Built in PHP functions

No, you can't.
Unfortunalty string formats are not yet supported in TBS. And for security reasons, you have to code your own functions for 'onformat'.