How to trigger on creation only?

Discussion created by ChrisJohnston on Dec 12, 2015
Latest reply on Dec 13, 2015 by dtcgnet

I am helping with a solution that uses Barcode Creator. It excepts a field for the barcode data. Then generates an image based barcode. It uses a script to produce the barcode. It is very straight forward. What we want is a script at record creation (only) that calls a script to create a barcode of the primary key. Our primary key is setup like so:

Indexed, Auto-enter Serial, Can't Modify Auto, Required Value, Unique, Allow Override

Could someone suggest how to use a script trigger correctly to do this. How can you trigger a script only at record creation is where we are stuck. Thanks