Kayako logo
SupportSuite, eSupport and LiveResponse Discussion, troubleshooting and feedback related to Kayako's flagship support desk products SupportSuite, eSupport and LiveResponse.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  (#1) Old
raykay Offline
New Member
 
Posts: 8
Join Date: Jan 2008
How to remove default fields from forms - 13-02-2008, 04:38 PM

Hi,

I've set up a group with custom fields and assigned it to a department. In the form the user completes I only want these fields. I don't want the Default General information, Message details or Upload file(s) sets.

I've tinkered with plenty of settings including making my new set a default set, removing default status from the "Default" set, unchecking "default" under Customize in a department - all to no avail.

Is this possible or do I have to live with the default sets?
   
Reply With Quote
  (#2) Old
supportskins Offline
Senior Member
 
supportskins's Avatar
 
Posts: 3,850
Join Date: Aug 2006
Location: Mumbai, India
13-02-2008, 07:43 PM

You will have to edit the submitticket template and set these fields as hidden. That should do the trick.



Professional and Affordable Kayako Skins - Specialists in Kayako Skinning & Customization - Professional Paid Support
Our Skins and Services - http://www.supportskins.com/store/
SupportSkins.com - http://www.supportskins.com/
   
Reply With Quote
  (#3) Old
raykay Offline
New Member
 
Posts: 8
Join Date: Jan 2008
13-02-2008, 09:08 PM

Thanks. I can't get it to work though..

I've found some other posts on this (now that I know what to look for) but I'm unclear exactly what to do.

Here's some code from the template:

<td width="70%"><input name="fullname" type="text" size="25" class="swifttext" value="<{$fullname}>"></td>

I've changed "text" to "hidden" and added type="hidden" but the field persists in test forms.

What's the missing step?
   
Reply With Quote
  (#4) Old
supportskins Offline
Senior Member
 
supportskins's Avatar
 
Posts: 3,850
Join Date: Aug 2006
Location: Mumbai, India
14-02-2008, 08:00 AM

Try something like this:
Code:
<input type="hidden" name="fullname" value="Client">



Professional and Affordable Kayako Skins - Specialists in Kayako Skinning & Customization - Professional Paid Support
Our Skins and Services - http://www.supportskins.com/store/
SupportSkins.com - http://www.supportskins.com/
   
Reply With Quote
  (#5) Old
bionhosting Offline
Member
 
Posts: 52
Join Date: Jul 2007
25-02-2008, 03:48 PM

you can have if statements based on departments. I've used this.
Works very nicely!
   
Reply With Quote
  (#6) Old
raykay Offline
New Member
 
Posts: 8
Join Date: Jan 2008
25-02-2008, 03:51 PM

Hi,

I've been side tracked form completnig this task but had a problem when I hid full name as the form couldn't be submitted. looks like it's best to use the existing one. :-)

"If statements" can you expand on the benefits and how to..?
   
Reply With Quote
  (#7) Old
bionhosting Offline
Member
 
Posts: 52
Join Date: Jul 2007
25-02-2008, 03:58 PM

Quote:
<{if $department[departmentid] == "1" || $department[departmentid] == "3" || $department[departmentid] == "5" || $department[departmentid] == "6" || $department[departmentid] == "13"}>

* content for displaying message details box*

<{/if}>


<{if $department[departmentid] == "12"}>

*if your settings are can attach, etc. content for displaying upload field box, etc.*

<{/if}>
something like that...

Last edited by bionhosting; 25-02-2008 at 04:07 PM.
   
Reply With Quote
  (#8) Old
raykay Offline
New Member
 
Posts: 8
Join Date: Jan 2008
25-02-2008, 04:01 PM

Ok, thanks.
   
Reply With Quote
  (#9) Old
jasonwood Offline
Member
 
Posts: 36
Join Date: Feb 2008
25-02-2008, 06:46 PM

i did the above, but on submitting a ticket, it returns the "field not filled in" error, even though the default fields are not showing. there must be another part of the code elsewhere expecting values from these default fields.

My solution was to prefill the subject and message body with text for a certain department, thus avoiding the error. Not the best solution but it works
   
Reply With Quote
  (#10) Old
craigbrass Offline
Senior Member
 
Posts: 5,740
Join Date: Jun 2005
Location: Cumbria, UK
25-02-2008, 07:29 PM

Are you sure Value contains something? It cannot be blank.


Craig Brass - Kayako Forum Squatter (Note: I am NOT a staff member)

Icon Headquarters - Its Elixir - Web2Messenger
   
Reply With Quote
  (#11) Old
bionhosting Offline
Member
 
Posts: 52
Join Date: Jul 2007
25-02-2008, 07:32 PM

ohh I think the subject was supposed to be filled with something? I never really trialed this... lol I just hid the fields..
uhh oh
   
Reply With Quote
Reply

Tags
default, forms, remove

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
custom fields return to default values when editing Tickets (Billing) PeteV SupportSuite, eSupport and LiveResponse 2 01-08-2007 07:59 PM
Custom Fields Default filtering view by custom fields Bamse Duplicate Requests 0 30-05-2007 11:42 AM
New Build: 3.10.02 STABLE Ryan Lederman News and Announcements 0 05-03-2007 09:53 PM



Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
vBulletin Skin developed by: vBStyles.com


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46