Re-adding callback validation function that mysteriously vanished. Page editing should no longer result in database error