I have a form which contains editable text field in Text Area format
I have to populate this field when I open this form.
For this, I read a file and I concat the field into one field. I use SetResponse for showing this on form.
dow not %eof
txtDPODesc = %trim(txtDPODesc) + %trim(DESCRIPTION);
reade file;
enddo
SetResponse('formFieldValue':'XXPDDESC' :%trim(txtDPODesc));
Now the thing is, I need to show each description on new line of the text area(as shown below).
I tried using <br>, \n but that doesn’t work. What should I use.
Also, user can update this field, and they can enter multiple lines of description, and I want to separate each new line and insert as independent record.
So, what should I use for scanning the new line character.
dataurl259706.png
?
I have to populate this field when I open this form.
For this, I read a file and I concat the field into one field. I use SetResponse for showing this on form.
dow not %eof
txtDPODesc = %trim(txtDPODesc) + %trim(DESCRIPTION);
reade file;
enddo
SetResponse('formFieldValue':'XXPDDESC' :%trim(txtDPODesc));
Now the thing is, I need to show each description on new line of the text area(as shown below).
I tried using <br>, \n but that doesn’t work. What should I use.
Also, user can update this field, and they can enter multiple lines of description, and I want to separate each new line and insert as independent record.
So, what should I use for scanning the new line character.
dataurl259706.png
?

Comment