Data field won't wrap in text box

Posted by: Louise

Data field won't wrap in text box - 12/03/20 03:08 AM

I have a data field in a text box which is longer than the width of the box. When I'm in the editor it shows as wrapping round properly, but when I view it on the live page it just carries on in one line off the edge of the page.

Is there any way to fix this?

Thanks in advance.
Posted by: Jean-Cédric

Re: Data field won't wrap in text box - 12/03/20 08:41 AM

Are there any spaces in the text of that field?
Posted by: Louise

Re: Data field won't wrap in text box - 12/04/20 07:05 AM

No, it's a URL so just continuous text.
Posted by: Jean-Cédric

Re: Data field won't wrap in text box - 12/04/20 08:59 AM

Then that is why. At design time, you see what the interface can show you. At run time, it all relies on Postscript. Since there is no space, it forces it on 1 line.

I suggest you convert your Text Object into a PressTalk Object and modify the code so it breaks it after x number of character or on a "/".