Jump to content

HTML Ordered/UnOdered List


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

Recommended Posts

Hi Gang,

I was hoping someone can assist me with a CF to convert a LIST into the code for an Ordered/Unordered HTML list while retaining the CSS text formatting and hard returns. I want to use the PIPE "|" character to identify where the indent will be placed. Here is an example:

This is some test text

|This is some test text

|This is some test text

||This is some test text

|||This is some test text

||This is some test text

|This is some test text

|This is some test text

This is some test text

This is some test text

|This is some test text

|This is some test text

This is some test text

This is some test text

[color:red]will format in HTML to display on a web page

1. This is some test text

o This is some test text

o This is some test text

o This is some test text

o This is some test text

o This is some test text

o This is some test text

o This is some test text

2. This is some test text

3. This is some test text

o This is some test text

o This is some test text

4. This is some test text

5. This is some test text

I appreciate any help that can be offered. Thanks!

Link to comment
Share on other sites

Hi Gang,

I have not received much feedback on this. I have figured out how to script the result I want. Attached is a FMP9 file. It uses a CF to get the selected line. Maybe someone can translate it into a recursive CF.

Thanks!

OLUL_Test.zip

Link to comment
Share on other sites

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