http://slideplayer.com/3939502/13/images/27/WithValidation+Called+before+the+target+function.jpg