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

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

Recommended Posts

Posted

We want to write and edit simple HTML in a Filemaker field, which is later exported to our web site. This includes things like adding bold to text and inserting live email addresses. I see no WYSIWYG way of doing this. So...

Has anyone developed a mini-HTML editor that allows this to be done easily, as it would in a wiki (or indeed when posting messages here)?

What's the easiest way of rendering the field so that users can see the results of their work?

What's the best way of handling the fact that Filemaker's returns in text fields don't automatically turn into the

tags required by web pages?

Many thanks in advance.

Posted

just a thought..

using a web viewer pointing to a web page that you host - basically an html WYSIWYG form that allows you to type in your data and format your data. Then use a script in FMP to scrape the formatted data from the web viewer?

Posted

Just point your web viewer directly at your field, using the data url.

So if your field is name HTMLTester, set the web viewer to "data:text/html," & HTMLTester

Posted

If I understand the question correctly, it has very little to do with the web viewer (except as a means to check the result) and more with calculating HTML from something that is not.

As Genx mentioned, you can use GetAsCSS() to turn styled text into styled HTML. However, it won't turn e-mail addresses into links.

If you're OK with using some in-line codes to mark up the text (like this forum does), then it should be relatively simple to substitute those codes for proper HTML coding. Otherwise you would need a custom function or a script to go over the text, identify the e-mail addresses, and turn them into links.

Posted

hence why I suggest SmartPill cause there isn't much you can't do with PHP like converting stripping or adding tags.

Posted (edited)

... how exactly is that a WYSIWYG editor... how do you edit?

It is exactly what he asked for. A place to enter HTML. And see the result. His statement:

"We want to write and edit simple HTML in a Filemaker field, which is later exported to our web site.

...

What's the easiest way of rendering the field so that users can see the results of their work?

"

The statement about formatted text directly contradicts the original request. If you're writing HTML then you're writing HTML. HTML is straight text. Perhaps WilliamCB needs to clarify his request.

Edited by Guest
Posted

I think the issue here is the OP's definition of what he actually wants...

WYSIWYG "implies the ability to change the layout of a document without having to type or remember names of layout commands" (wiki) vs Editing HTML code and viewing the rendered result.

Posted (edited)

Here is somthing to look at.

Make sure when your exporting the field contents you use the ".html" so a browser will open it.

htmlEDIT.zip

Edited by Guest
  • 6 months later...
Posted

My apologies for a very late reply to this thread.

I struggled a bit to understand what was being said, but the zipped sample posted by aholtzapfel explained it all.

To clarify, I was not looking for a true WYSIWYG html editor. However, I seem to have got almost that. Since users will be able to style text using the Filemaker styling controls, and this will be exported as HTML.

I can see there are some limitations to this (eg email addresses as mentioned), but it's a 90 per cent solution, and easy to implement. Thank you all very much!

  • 2 years later...
Posted

Hi, I am trying to set up a system simliar to this, with FM displaying as a web viewer the email that's about to be sent to customers. The downloaded solution in this thread works great, however only in Filemaker 9 and up. I am trying to display the HTML in FM 8.5 on the Mac and it's showing garbage. Can anyone help me get this to display with FM 8.5 on Mac? I don't want to upgrade just because of this one feature. (Plus I detest the top-bar display in Filemaker now). Thanks in advance to anyone who can help me get HTML to display in this way in FM8.5.

Screen shot 2011-01-13 at 6.10.34 PM.png

Posted

I recently came across this free FileMaker file, which does something to this effect...

https://www.cordega.com/Help/

This topic is 5067 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.