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

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?


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


Sign in to participate in this thread!


Your banner here too?

Latoweb latoweb Joined 28 Dec 2015


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

Your logo here?

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

© 2024 - All rights reserved.