Best answer

How do I split text into different fields within a PDF using Formatter?


Userlevel 1
Badge +1

Hoping for a little help, I am trying to split some text into line items and it doesn’t seem to be playing the game.

 

The input text will look like “3 2 2”, I am trying to split into line items so I can use the individual numbers at different places of a PDF. 

 

Using a normal Text-to-line formatter, on the surface it looks to be working:

 

However when I try to use those line items to output the data into a DocuPilot PDF, it only shows the output as one individual line (3,2,2):

 

Thank you!

icon

Best answer by y0nX_web 6 July 2022, 09:25

View original

This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

2 replies

Userlevel 1
Badge +1

Nevermind! Just needed to do another Line Item To Text from there :)

 

 

Userlevel 1

Hi there!

Since your data is not an array with key => value format, i recommend to use the split format function with “Separate Fields” as Segment Index :
 

 

Thus you can get your 3 values separately in your next action :