ui.Dialog.getFieldTouched()

 

The GetFieldTouched() method is used to check whether the value in the specified field or set of fields was changed during the input. The method returns TRUE if at least one of the specified fields is marked as touched and FALSE - if all the fields of the fields remain untouched.

 

The value in the field is considered to be changed even if the changes were made and then undone (for example, a letter inputted and then erased). The result of this method is the same as the result of field_touched(). However, whereas the function does not allow variables as the field specification, the method does, which gives it the necessary flexibility.

 

DIALOG.GetFieldTouched("field_list")

 

The field_list argument can be represented in several ways:

 

DIALOG.GetFieldTouched("mytable.field1")

DIALOG.GetFieldTouched("screenrecord.field2")

 

 

DIALOG.GetFieldTouched("my_screc.*")

 

 

DIALOG.GetFieldTouched("*")

 

 

 

Related topics:

FIELD_TOUCHED() operator