I am new to writing dcl and want to set up error checking to force user to input all required data. I borrowed a portion of this code from a previous post and cannot make it work. Any help would be greatly appreciated. (defun OKCallBack () (if ((= (get_tile "billto") nil) (alert "You must enter billing manager.") ;; Set the focus to the tile the user forgot (mode_tile "billto" 2) ) (if (= (get_tile "proj_num") nil) (alert "You must enter project number.") ;; Set the focus to the tile the user forgot (mode_tile "proj_num" 2) ) (if (= (get_tile "plotter") nil) (alert "You must select a plotter.") ;; Set the focus to the tile the user forgot (mode_tile "plotter" 2) ) (if (= (get_tile "paper") nil) (alert "You must select paper size.") ;; Set the focus to the tile the user forgot (mode_tile "paper" 2) ) (if (= (get_tile "copycnt") nil) (alert "You must enter number of copies.") ;; Set the focus to the tile the user forgot (mode_tile "copycnt" 2) ) (T (done_dialog 1) ) ) )