Add line breaks in dynamic tex using perl

I am using Unverified Perl to pipe in open-ended wording to offer as a numeric response... I need it to look like this (or similar)

1 (user entered agency name)
2 (user entered agency name)

etc... I need them to be on separate lines. BUT I cannot figure out how to insert line breaks into perl. I've tried using "return" and "print". And I've tried using \n within my code. Any help is appreciated, thanks!



[% Begin Unverified Perl

if(VALUE("ls0214")!=999){
return "1: " . GETVALUE("ls0211") . "\n" . "2: " . GETVALUE("ls0212") . "\n" . "3: " . GETVALUE("ls0213") . "\n" . "4: " . GETVALUE("ls0214");
}
if(VALUE("ls0213")!=999){
return "1: " . GETVALUE("ls0211") . "\n" . "2: " . GETVALUE("ls0212") . "\n" . "3: " . GETVALUE("ls0213");
}
if(VALUE("ls0212")!=999){
return "1: " . GETVALUE("ls0211") . "\n" . "2: " . GETVALUE("ls0212");
}
if(VALUE("ls0211")!=999){
return "1: " . GETVALUE("ls0211");
}

End Unverified %]

Resolved
3 replies