Support the ongoing development of Laravel.io →
posted 9 years ago
Forms
Last updated 1 year ago.
0

There are examples in documentation, here

Last updated 1 year ago.
0
{{ Form::open(array('url' => 'foo/bar')) }}
Last updated 1 year ago.
0

ahmedmahmoudit said:

{{ Form::open(array('url' => 'foo/bar')) }}

thank u for your help,but i still cant understand why i'm not write the url code like this in the laravel page

{{ Form::open(array('class' => 'form-signin', 'role' => 'form')) }}

but the html code is also genertate the action

action="http://localhost/auth/signin";

the Form have default url?

Last updated 1 year ago.
0

mgsmus said:

There are examples in documentation, here

thank u for your help,but i still cant understand why i'm not write the url code like this in the laravel page

{{ Form::open(array('class' => 'form-signin', 'role' => 'form')) }}

but the html code is also genertate the action

action="http://localhost/auth/signin";

the Form have default url?

Last updated 1 year ago.
0

by default it will use current url, just like when u do action=""

Last updated 1 year ago.
0

az-iar said:

by default it will use current url, just like when u do action=""

aha~ thx~

Last updated 1 year ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.