Fix submitHandler example due to validator.getFieldElements() changes