Description field formatting?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2015 06:35 AM
In a Template, when I populate the description with text, formatting is lost when template is applied or generated. I'm using Description (U_description) field. Is there a better way to do this? Thank you!
Example of text in template:
New User Master Ticket
User Name:
User ID:
Start Date:
End Date (if applic):
Telephone (if applic):
Manager:
Similar User:
And this is how it displays when applied:
New User Master Ticket User Name: User ID: Start Date: End Date (if applic): Telephone (if applic): Manager: Similar User:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2015 06:38 AM
try using "\n" or "\n\n" to give line breaks while saving data on the u_description field
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2015 06:41 AM
just tried this on javascript executor, works perfectly. same will work properly on the server side too.
g_form.setValue('description', "haha\nhaha");

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2015 06:38 AM
Can you send that script how shown on template.
Have used </br> to break the lines?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2015 06:52 AM
Thanks for the quick responses. I just tried again, creating the template from a form (rather than directly in System Def > Templates) and then the field contents in the new template show as:
<p>New User Master Ticket<br />User Name:<br />User ID:<br />Start Date:<br />End Date (if applic):<br />Telephone (if applic):<br />Manager:<br />Similar User:</p>
All clear now, I'm very new at this, learning as I go!
Jill