[rt-users] adding custom field type, how to force single value
Len Jaffe
lenjaffe at jaffesystems.com
Tue Jun 17 15:46:20 EDT 2014
On Tue, Jun 17, 2014 at 3:11 PM, Kevin Falcone <falcone at bestpractical.com>
wrote:
> On Mon, Jun 16, 2014 at 04:54:03PM -0400, Len Jaffe wrote:
> > I'm adding a custom field type tp my RT instance to that I can create
> custom
> > Show and Edit templates due to the data being stored in JSON.
> >
> > What I';ve found so far is that RT thinks my Text-based CF is
> multivalued, and
> > when the edit side submits any values (not even changing any of the
> json), RT
> > will parse pretty-printed JSON as multiple entries.
> >
> > How does one typically go about informing RT that the new custom field
> type is
> > single-valued?
>
> I assume you've actually made a Freeform rather than Text CF with
> custom viewers/editors. The relevant setting should be MaxValues, but
> switching your type is likely what you want - Fill in one text area vs
> enter multiple values.
>
This was an attempt to create my own custom field type, based on the 'fill
in one text area' text CF.
I'll look at freeform.
Thank you.
Len.
--
lenjaffe at jaffesystems.com 614-404-4214 @lenjaffe
Information Technology Smoke Jumper, Host of Columbus Code Jam
<http://www.meetup.com/techlifecolumbus/>
www.lenjaffe.com http://www.theycomewithcheese.com
Advent Planet <http://www.lenjaffe.com/AdventPlanet/> - An Aggregation of
Online Advent Calendars.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20140617/b8870e9d/attachment.htm>
More information about the rt-users
mailing list