I’ve tried to insert a simple addToValidate just for test.
addToValidate('EditView','reference_number','int',true,'TEST');
What i’ve seen after your modification is that Save and Continue is validating right while Save is throwing an error:
Uncaught TypeError: _form is null
This is related to changes in display function in order to avoid caching problems:
post:
$this->ev->formName='EditView_Mobile';
Not able to understand how i could fix this last issue