protectedfunctionfields(){return [Input::make('Password')->type('password')->rules('required|alpha_dash|min:8'),Input::make('Repeat password','password_confirmation')->type('password')->custom()//will not be saved to the model->rules('required|same:form_data.password') ];}