Jump to content
sdemirayak

is it possible not-removing the ENTER character from summary

Recommended Posts

Hi all

I create a ticket starts with ENTER character.

when I save and click to EDIT, servicedesk automatically removes the ENTER characters from beginning of the SUMMARY field. (and it adds log file the whole summary as "changed". activity log gets bigger and bigger)

how can I stop it to remove these ENTERs from beginnig of summary? I checked detail_in and tried to change some "esc_style=c" to "esc_style=NONE" but no chance.

thanks in advance

Share this post


Link to post
Share on other sites

hi,

you can try to trim enter chars on ticket creation:

trigger type: POST_VALIDATE

spl:

summary = gsub(summary, "\n", "");

 

Share this post


Link to post
Share on other sites

try to replace summary input with textarea (add rows into dtlMacro).

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...