Kayako logo
How do I? Questions about how to do specific things in SupportSuite, eSupport and LiveResponse. Not for reporting problems.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  (#1) Old
bionhosting Offline
Member
 
Posts: 52
Join Date: Jul 2007
DISABLED/READONLY Custom Field - 25-02-2008, 04:05 PM

How do I make a custom field DISABLED or READONLY? Will I need to make a custom custom field?
   
Reply With Quote
  (#2) Old
bionhosting Offline
Member
 
Posts: 52
Join Date: Jul 2007
10-03-2008, 05:39 PM

will no one help?
   
Reply With Quote
  (#3) Old
supportskins Offline
Senior Member
 
supportskins's Avatar
 
Posts: 3,821
Join Date: Aug 2006
Location: Mumbai, India
10-03-2008, 05:44 PM

You will have to add the field as custom type and manually add the custom field code in the submitticket template.



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
  (#4) Old
bionhosting Offline
Member
 
Posts: 52
Join Date: Jul 2007
19-03-2008, 08:37 PM

could I please get an example?
   
Reply With Quote
  (#5) Old
guimafx Offline
New Member
 
Posts: 28
Join Date: Jul 2007
Location: Porto Alegre - Brazil
22-04-2008, 07:47 PM

Please, one example.

What's the name of the custom field ?
   
Reply With Quote
  (#6) Old
jaigupta Offline
Member
 
jaigupta's Avatar
 
Posts: 75
Join Date: Apr 2008
22-04-2008, 08:14 PM

Quote:
Originally Posted by guimafx View Post
Please, one example.

What's the name of the custom field ?
For this to understand you must be familiar with html, try to use gui mode of dreamwever or some other html editor.

Name of custom field is "custom" in kayako.


Jai Gupta
   
Reply With Quote
  (#7) Old
guimafx Offline
New Member
 
Posts: 28
Join Date: Jul 2007
Location: Porto Alegre - Brazil
26-04-2008, 11:47 PM

Hi Jai Gupta,

OK, i'm very familiar... very very... but a field, has their atributes.

Let's say that i got i hidden field called IdFromOtherAplication

Like NAME, VALUE, ID, CLASS, JAVASCRIPT INVOCATION... any way....

No one in this forum, tell you what's gonna be the NAME of this input.

IT just says, insert there inside the template bla bla bla bla...... as you said.

Insert what ? The dropdrown, radio buton ? Just insert there ?

Someone got to be kiding.

Regards,

Guimafx
   
Reply With Quote
  (#8) Old
jaigupta Offline
Member
 
jaigupta's Avatar
 
Posts: 75
Join Date: Apr 2008
27-04-2008, 04:02 AM

I can understand your frustration, I can't say that I will prove to be helpful but will give it a try.

In short, the name of the input will be Field Name given in custom filed.

You can see in my attached image, here name of the input is "TestTwo"

HTML Code:
<fieldset class="swiftfieldset">
<legend>Test Two</legend>
<table width="100%"  border="0" cellspacing="1" cellpadding="2">
  <tr>
    <td width="30%" align="left" valign="top" class="row2"><span class="smalltext"><b>Test Two:</b><br/>
      Test Two </span></td>
    <td width="70%"><input name="TestTwo" type="text" size="25" class="swifttext" disabled="disabled" value="Test Two : fix"></td>
  </tr>
</table>
</fieldset> 
Above is the code I inserted in register template (Dashboard » Templates » register)

You can see it live at Edvanta Technologies Pvt. Ltd. - Powered By Edvanta Technologies Pvt. Ltd. (It may not be available after few days from now)

Note that Test One is editable and Test Two is disabled.

Now, Insert what? this depends upon your requirement. You are already familiar with HTML so I wont explain it to you but in case some one would like to have a look then he can see HTML Forms and Input

Below is some txt copied from Kayako_SupportSuite_User_Manual_PDF (page 406-407)

• Field Title – the main title of the field.
• Field Name – the name of the field. This must be all one word, and when referencing the field name from HTML code (as described earlier) is case sensitive.
• Default Value – when the field is outputted into an interface, the default value will already be present in the field (unless changed).
• Field description – a description of the field, designed to be more descriptive and longer than the Field Title.
• Display Order – where more than one field is displayed as part of a group of fields, they are listed according to their display order (set here).
• Is Required? – if enabled, the system will return an error if the field is submitted a blank (when in use in an interface).
• User Editable – if enabled, the user will be able to modify the field (applies only to user registration and user ticket creation group types).
• Staff Editable – if enabled, any staff user will be able to modify the field regardless of whether it is a user field or a field intended for staff control panel use (such a task list field).
• Regexp Validation – although not required, a regular expression string can be entered here. When the field is outputted into an interface (such as at ticket creation), any data entered into this field will be validated against this expression. If validation fails, the system will return an error stating that the data entered is not valid. For more information on regular expressions, see PHP: preg_match - Manual.
Attached Images
File Type: png reg_field.png (13.2 KB, 14 views)


Jai Gupta

Last edited by jaigupta; 27-04-2008 at 04:22 AM. Reason: Added manual text
   
Reply With Quote
  (#9) Old
guimafx Offline
New Member
 
Posts: 28
Join Date: Jul 2007
Location: Porto Alegre - Brazil
28-04-2008, 03:30 PM

Jai Gupta,

I'm gonna try that.

Just make the name of the field = the name of creation in kayako admin panel.

That's should be so simple, but no one said that before in this forum, except you.. god bless your soul !

Regards,

Guilherme
   
Reply With Quote
Reply

Tags
custom, disabled or readonly

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 Field Type "Custom" HTML code example. networkops Developers & Code 6 03-07-2008 03:26 AM
Custom Field -- User/Staff Editable Sarah_User SupportSuite, eSupport and LiveResponse 13 01-08-2007 09:12 PM
Custom field entries left over from 2.3.5 -> v3 Mikie SupportSuite, eSupport and LiveResponse 3 24-07-2007 12:10 PM
Custom Field Doesn't Work!! caitlyntw SupportSuite, eSupport and LiveResponse 9 06-04-2007 06:16 PM
Merging Custom Fields in ViewTicket of Staff Mick SupportSuite, eSupport and LiveResponse 0 21-09-2006 05:48 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