Hi ,
I have a string field of length 2k characters. I want that whenever user enters any comments it should display per line as below.
How and where I should define this .
Thanks!!
Yes, you can create display method and add line break. But I think in table it will be saved in single line only.
From where you will find out this belongs to 1st line and 2nd line in single line of text.
You can try the above suggestion and if it works it will be great.
Thanks,
Girish S.
Thanks Girish, Can we not set up display method on form field like this:
public display str Comments()
{
str comment;
comment += comment\n;
return comment;
}
Hi D365 ER,
I think its up to the user only. We cannot add the line break via code after the user enter the value.
For the control to have multi line you can set the "MultiLine" property to yes on the controls and check.
Mostly for the comment like fields - EDT referring to the comment fields will have display height property to some whole number value.
You can refer to the timesheet comment field.
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
CA Neeraj Kumar 2,351
André Arnaud de Cal... 874 Super User 2025 Season 2
Sohaib Cheema 638 User Group Leader