A little messy, but it works.
First, in your questions type the word linebreak anywhere you want a line
break to appear. This doesn't do anything in itself but it's setting us up
for the final solution.
Then, go to each page that you want to add this behavior to, for example
your NewForm.aspx. Edit the page (or enter NewForm.aspx?ToolPaneView=2 if
your page doesn't have an edit page option). Next add a content editor
webpart to the page BELOW the form webpart. Add the following code to it
(replace the brackets with appropriate angle brackets)
[script language="JavaScript"]
var className;
className = 'ms-formlabel';
var elements = new Array();
var elements = document.getElementsByTagName('td');
for (var e = 0; e < elements.length; e++)
{
if (elements[e].className == className){
elements[e].innerHTML = elements[e].innerHTML.replace(/linebreak/g,'<br/>');}
}
[/script]
Notice the code is accessing any td element with the ms-formlabel class and
changing anywhere within that element where it finds a linebreak to a br tag.
Good luck.
Post by greenteaIn version 2 we used to be able to add new lines in a sharepoint survey such
that the question can be presented more neatly. E.g.
"What is a good way to conduct an efficient meeting?
Have you say!!"
In version 3 we no longer can add new lines. How to add new line in a
sharepoint v3 survey question?