[rt-users] Validating Custom fields against an external datasource

Kevin Falcone falcone at bestpractical.com
Fri Dec 13 10:50:17 EST 2013


On Fri, Dec 13, 2013 at 10:02:49AM -0400, Kenroy Bennett wrote:
>    I have a auto-complete custom field with its data coming from an web service
>    The reason for the auto-complete is to prevent users from searching through the long list of
>    data.
>    I would like to know if custom validation can be created to validate the entry in the custom
>    field against an external data source such as a web service and display a error message.

You may find it easier to source the data externally first:
http://bestpractical.com/docs/rt/latest/extending/external_custom_fields.html

But you could also validate on submission, there are callbacks in
place.

-kevin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 235 bytes
Desc: not available
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20131213/f047049a/attachment.sig>


More information about the rt-users mailing list