[rt-users] Check custom field value before create.

Kenneth Crocker kenn.crocker at gmail.com
Fri May 11 15:01:01 EDT 2012


Jonathan,

You didn't mention 3. I must have missed that.
Actually it looks like you want any one of the 3 to be mandatory, but at
any point in time, you don't know which one.
Correct?

If so, you have to write a scrip.
Also, unless something has changed in RT, you cannot send out a message to
be displayed on the Web Page.

I use a Custom Field for that so that whenever something is missing or I
need the user to know that a field is incorrect, I put my message in that
CF and that CF is displayed on the ticket page. No one has privileges to
that CF (other than SeeCustomField) except RT.

Kenn

On Fri, May 11, 2012 at 9:01 AM, Jonathan Khattir <
jonathan.khattir at mobiquithings.net> wrote:

> Yes i use the web interface. But cf mandatory is not good for me.
>
> I have three custom field and i would like force only one of three field.
>
> if(custom1=custom2=custom3=0)
> {
> dont create
> display messge ( fill custom1 or custom2 or custom3)
>
> }
>
>
>
>
>
>
> 2012/5/11 Kenneth Crocker <kenn.crocker at gmail.com>
>
>> Jonathan,
>>
>> If you're talking about creating a ticket via WebUI, then make the CF
>> mandatory. If you're talking about creating via email, you'll need a scrip.
>>
>> Kenn
>>
>>
>> On Fri, May 11, 2012 at 8:27 AM, Jonathan Khattir <
>> jonathan.khattir at mobiquithings.net> wrote:
>>
>>>
>>> Hi, I would like check if there are a custom field value in a custom
>>> field before create the ticket. I think that use the beforecreate callbacks
>>> but i don't know  how getting custom field value. Thx
>>> I'm French
>>>
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20120511/f9cd31e6/attachment.htm>


More information about the rt-users mailing list