8 Replies Latest reply: Jun 19, 2017 11:15 PM by Dave Lau RSS

    Trigger to default Select to default value or previous selection

    Hanief Edwards

      I use the following trigger to set a Year field selection to Variable1 if Year has no prior selection, or to its previous value. This works if only a single year is preselected. But if multiple years are selected, it fails. Any help would be appreciated.

       

      =if(len(getFieldSelections(Year))=0,Year(Variable1),getFieldSelections(Year))

       

      Thanks