Hey all,<br><br>I&#39;m trying to add a default value that has multiple lines to a text area and am unable to add line breaks. The default value is being built out of an array with the goal that each entry of the array is on it&#39;s own line. Adding \n, \r\n, or \r only adds the \n,\r\n, or \r as text and not as a new line. Is there some sort of preprocessing I need to do to the text in order to get the line breaks to show up in the textarea?<br>
<br>Code:<br>$codes = variable_get(&#39;somevariablename&#39;, array());<br><br>$display = &#39;&#39;;<br><br>foreach ($codes AS $key =&gt; $value) {<br>  $display.= $value . &quot;\n&quot;;<br>}<br><br>$form[&#39;textareatitle&#39;] = array(<br>
  &#39;#title&#39; =&gt; &#39;Title&#39;,<br>  &#39;#type&#39; =&gt; &#39;textarea&#39;,<br>  &#39;#default_value&#39; =&gt; $display,<br>);<br><br>Any help or pointing in the right direction would be appreciated. Thanks!<br>
Ben<br>