Go Back   MarcomCentral (PTI) and FusionPro User Communities > Software-Related Talk > The JavaScript Library > Formatting Text

Notices

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old January 13th, 2019, 11:14 PM
Naval Naval is offline
Junior Community Member
 
Join Date: Oct 2015
Location: New Zealand
Posts: 40
Default Bullet Points

Hi there i am using fusion pro for templating for EFI Digital Storefront.
I have a text box which i want to to have bullet points rule in.

I want every hard return to add bullet point. Can you please tell me how would i go about doing that.

Thanks in advance.

Naval
Reply With Quote
  #2  
Old January 14th, 2019, 09:17 AM
gregmaze gregmaze is offline
Junior Community Member
 
Join Date: Jul 2012
Posts: 18
Default Re: Bullet Points

Hello Naval,

This code should work for you... replace "Field(“Your Field”)" with the field you are using.


return '&bull;' + " &nbsp;" + Field(“Your Field”).replace(/<p>/g, "<p> &bull; &nbsp;");
Reply With Quote
  #3  
Old January 14th, 2019, 02:14 PM
Naval Naval is offline
Junior Community Member
 
Join Date: Oct 2015
Location: New Zealand
Posts: 40
Default Re: Bullet Points

Thank you gregmaze, that worked like a treat.
Reply With Quote
Reply

Tags
bullet points

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 03:05 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
(c) 2011, PTI Marketing Technologies™, Inc.