Support the ongoing development of Laravel.io →
Database Views Forms
Last updated 2 years ago.
0

Update I try differente solution but it seem's the action CREATE() of the RESTfull controller can't accept parameters?

I must create another ACTION on this controller? Is possible? How to use?

0

You can add parameter to your create route

  1. add get parameter to view .../create?parameter_name=parameter_value

  2. retrieve get parameter in you view and put in in your input value, <input type="number" id="id_anggota" name="id_anggota" value="{{ Request::input('parameter_name') }}" hidden>

  3. then you can retrieve them in store function in your controller $value = $request->parameter_name

0

Sign in to participate in this thread!

Eventy

Your banner here too?

Latoweb latoweb Joined 28 Dec 2015

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.