added callback functionality in TriggerField