Answered
please help with correct javascript syntax '/n' inside addScript
this.addScript("Main", "var arr =this.getField('recList').value.split('\n');")
Exception in line 1 of function top_level, script Console:Exec
GeneralError: Operation failed.
Doc.addScript:1:Console undefined:Exec
undefined