Jump to content

hide department step 2 ticket


Recommended Posts

On 3/5/2018 at 11:32, rgazetta said:

The one that works the best, without causing system crashes and is easier to do.

you could edit the supportticketsubmit-steptwo.tpl template and change...

        <div class="form-group col-sm-3">
            <label for="inputDepartment">{$LANG.supportticketsdepartment}</label>
            <select name="deptid" id="inputDepartment" class="form-control" onchange="refreshCustomFields(this)">
                {foreach from=$departments item=department}
                    <option value="{$department.id}"{if $department.id eq $deptid} selected="selected"{/if}>
                        {$department.name}
                    </option>
                {/foreach}
            </select>
        </div>

to...

<input type="hidden" name="deptid" value="{$deptid}">

the only problem I can see would be if you were using Support Custom Fields - if you were, then you would really need to keep the department dropdown to show the custom fields for that chosen department to the client... if you aren't using, and do not intend to use them, then this won't matter.

Link to comment
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.

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated