newticket bodytext mandatory

Moderator: crythias

Locked
maho
Znuny newbie
Posts: 15
Joined: 14 Feb 2014, 16:09
Znuny Version: 3.x,4.x,5.x
Real Name: mario

newticket bodytext mandatory

Post by maho »

Hi Guys,

Its possible to set the body text in a new phone ticket to free and not mandatory?

I try to change some settings here in AgentTicketPhone.tt but nothing helps?
I searched for a solution and found only this one viewtopic.php?t=14123

Any tips and tricks?


AgentTicketPhone.tt

Code: Select all

 <label class="Mandatory" for="RichText"><span class="Marker">*</span> [% Translate("Text") | html %]:</label>
                    <div id="RichTextField" class="RichTextField">

[% RenderBlockStart("RichText") %]
[% InsertTemplate("RichTextEditor.tt") %]
[% RenderBlockEnd("RichText") %]
                        <textarea id="RichText" class="RichText Validate_Required [% Data.RichTextInvalid | html %]" name="Body" title="Message body" rows="15" cols="[% Config("Ticket::Frontend::TextAreaNote") %]">[% Data.Body | html %]</textarea>
                        <div id="RichTextError" class="TooltipErrorMessage">
                            <p>[% Translate("This field is required.") | html %]</p>
                        </div>
                        <div id="RichTextServerError" class="TooltipErrorMessage">
                            <p>[% Translate("This field is required.") | html %]</p>
                        </div>
                    </div>
In the same File ill also change the Ticket owner to the current logged in Agent.

Thanks
BR
mario
RStraub
Znuny guru
Posts: 2210
Joined: 13 Mar 2014, 09:16
Znuny Version: 6.0.14
Real Name: Rolf Straub

Re: newticket bodytext mandatory

Post by RStraub »

I think for Phone/Email Tickets atleast one article is needed. If you want to create tickets without "body text", you might consider process tickets.
Currently using: OTRS 6.0.14 -- MariaDB -- Ubuntu 16 LTS
Locked