YaSh Chaudhary YaSh Chaudhary - 1 year ago 97
PHP Question

Call to undefined function Form() using laravel 5.2

when i go to my view, following error occurs:

FatalErrorException in 9edd5e400844b5418c6227c302e89f04657fb615.php line 3:
Call to undefined function Form()

my view file :

{!!Form::open(array('url'=>'resetpwd','method'=>'PUT')) ;!!}
<p> {!!Form::submit('Reset Passsword');!!} </p>

Answer Source

I am assuming you have installed Laravel Recepie. You do not declare Form::password() method correctly.Edit your code with below changes hope it will be helped you.See how to use this method in Laravel Recepie.
Change {!!Form(password('password'));!!} to {!!Form::password('password');!!}

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download