Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [line-break]

The tag has no usage guidance.

0
votes
1answer
19 views

How to add line break between inputText Fields in panelgrid

I have the following visualforce code: <apex:page id="communitiesSelfRegPage" showHeader="true" standardStylesheets="true" controller="CommunitiesSelfRegController" title=" {!$Label.site....
8
votes
1answer
2k views

Replace Line Breaks (Multiple count as 1) in a string

Given a string with the following variations where {br} is a line break not a literal Line 1{br}Line 2 Line 1{br}{br}Line2 Line 1{br}{br}{br}Line 2{br} Basically any number of line breaks between ...
1
vote
1answer
286 views

Break tag inside rich text field in lightning

We use a Visualforce page to automatically fill a rich text field with some generated content. After that, the user is allowed to edit the content before it's displayed on a website. After our ...
1
vote
1answer
7k views

Add Line Break In Error Message

The below code builds an error message displaying the values from multiple records (typically 12). Map<String,Budget__c> budgetByIdentifier = new Map<String,Budget__c>([SELECT ...
8
votes
1answer
1k views

Flow Linebreak in text field record update

My flow runs on the Contact object. There is a screen for users to update to the Contact description. I want to combine the old description and the new one, but have a line break between them. Every ...
0
votes
1answer
184 views

Line break (\n) in return statement of a method [duplicate]

I am trying to use Line breaks (\n) in return statement. But it doesn't work. \n gets printed in the return statement. I am not using any VF Page. I am trying this in my webservice class. Below is ...
0
votes
1answer
141 views

Regular Expression need to escape < br> [closed]

I'm using the following regular expression: (https?://(?i)www.|https?|www.)([A-Za-z\\d._~:/?#\\[\\]@!$&\'()*+,;=-]|%[0-9a-fA-F]{2})+[.][A-Za-z]{2,3} but for urls such as for instance: http://www....
1
vote
1answer
157 views

Linebreaks in Flows to populate body of contentNote

I have a flow that populates the content of a ContentNote record. i use a formula that combines values from various variables in the flow and concatenate it.This concatenated text is displayed in the ...
0
votes
1answer
46 views

Visual Flow - Rich Text inserting unwanted Line Breaks

In my Visualflow all Radio Button Lists, CheckBox Lists, and Multi-Select Checkbox List, give me unwanted line breaks if I convert the label to Rich Text. It's a normal VisualFlow that is not ...
3
votes
1answer
190 views

Validate if RichText field contains line breaks

I'm trying to create a validation rule that prevents users from having line breaks in a richtext field. Here's what I have: Error condition formula: REGEX(Manual_Step_Description__c,"\n") I want to ...
3
votes
1answer
1k views

How to wrap Rich Text Area in Visualforce

How do you wrap the text automatically? I have tried several approaches but none of them it works. Data type for the Description field is: Rich Text Area(131072) Visualforce page: <apex:...
0
votes
3answers
383 views

break line on a String

This is my query: String query = 'SELECT Project__c, Project__r.Testing_Submitted__c, Project__r.Project_Sub_Phase__c, Project__r.DRD_Submited__c,Protected_Application__r.DRD_Completed__c, ...
2
votes
2answers
867 views

How do I get a line break in a Visualforce page IF formula?

I've looked through various questions but still haven't found an answer. I have 5 fields that I can display on a VF pdf page and want each one on a different line, but if the IF fails, I don't want a ...
3
votes
3answers
6k views

Line break on Text Area (Long) in Visualforce

i have one long text area field and i used it on my visualforce. my long text area field value is - Fees are valid only for the payment of the Grade specified in this Letter of Offer.\n- Fees ...
1
vote
1answer
964 views

Any solution found for word-wrap in VF PDF?

Searched nearly one day but could'nt find the solution for this. There are lot of questions regarding word-wrap is not working on pdf but none of them have answers. am just fetching the contacts ...
3
votes
2answers
2k views

Is there an easy way to show a multi-line Custom Label in a Visualforce page with the line breaks working correctly?

I'm looking to display a Custom Label on a Visualforce page, however when the Custom Label has line breaks in it, they're not coming through to the Visualforce page. If I inspect the html, the line ...
0
votes
1answer
473 views

Line Breaks in showing formula field in VF page

I've a formula field like this : Address__c & BR() + City__c & ',' & text(State__c) & BR() & Zip_Code__c This is showing complete mailing address, separated by line breaks using ...