# How Do I Mark Fields that Won't Make the Model Dirty?

In certain windows, we have a concept of a locator field, which typically acts as a filter on some lists of the current object. Examples are user group's filter on description and several IB windows' filter by date.

In case the page is dropped after a data change, locator fields throw an unexpected warning about loss of data. To avoid this warning on locator fields, you can add a function that enumerates the locator fields, such as the following:

    			function ignoreModifiedFields(){
    			    return ['START_DTTM']
    			}

    			You can include any number of fields in the array, e.g.
    			return ['FIELD_1', 'FIELD_2', 'FIELD_3']

Parent topic: Miscellaneous How-To's