Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 3600 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

hi, i have a INPUT that has special format FILEMAKER 13

 

 

as might make PHP take the same format?

 

and that save register from PHP also in FileMaker the same format display?

 

 

Thanks...

Posted

I am sorry, I'd love to answer your question, but it does not appear to make sense to me.   Do you care to elaborate ?

 

--Bob

Posted

What Bob said - I cannot make out what you are actually trying to achieve....

 

 

filemaker have a field that has special formatting, such as bold, line breaks, etc.
 
and I would keep that format with PHP API, because the display in a browser only shows the linear text
Posted

Ok, is now well:

 

<textarea id='editor{$x}' cols='90' rows='18'>".htmlspecialchars_decode(nl2br($record->getField('TEXTO BIOPSIAS 2::TEXTO')))."</textarea>

 

and should look like:

 

<textarea id='editor{$x}' cols='90' rows='18'>".htmlspecialchars_decode(nl2br($record->getField->getAsCSS('TEXTO BIOPSIAS 2::TEXTO')))."</textarea>

 

so or am in error?

Posted

It may be a language thing; but are you asking if the code or ok or saying that it works now?

 

sorry, only speak in spanish...

 

my question is:

 

how to use the function getAsCSS?

  • 3 weeks later...
Posted

You will need a new calculation field

 

TEXTO_Css     GetAsCss('TEXTO')

 

In the database, and then display that field in the PHP:

 

<textarea id='editor{$x}' cols='90' rows='18'>".htmlspecialchars_decode(nl2br($record->getField('TEXTO BIOPSIAS 2::TEXTO_Css')))."</textarea>

This topic is 3600 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.