[FX.php List] Keeping text formatting from a FM field
Troy Meyers
tcmeyers at troymeyers.com
Fri Jun 13 08:15:01 MDT 2008
I'm actually using this, and I'm thinking about creating a Custom Function to do the GetAsCSS "repair" so that I don't have to code a calc field every time.
Here's what I've got:
Substitute (Substitute (Substitute (
GetAsCSS ( Formatted Text )
; "<SPAN STYLE" ; "<span style" )
; "</SPAN>" ; "</span>" )
; "<BR>" ; "<br />" )
...has anyone noticed anything else I should substitute for?
-Troy
> One could always use a massive Substitute function to replace the
> uppercase tags with lowercase.
>
> Dale
>
On May 27, 2008, at 7:35 PM, Tim 'Webko' Booth wrote:
>
>
>> Hi Bob,
>>
>> Isn't there something like a GetAsCSS function in FileMaker these
>> days? Maybe make an auto-enter calc field that applies GetAsCSS and
>> display the calc'd field?
>
> I knew someone would think of something clever - pity the returned
> CSS is not valid xhtml (in this day and age, *why* use UPPER CASE
> tags??)
>
> Somewhat clunky but effective...
>
> Webko
More information about the FX.php_List
mailing list