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

amilajack said: public/purchase/%7Bid%7D

%7D is the ASCII code for the } character, which is probably leaking through from a template...

Last updated 2 years ago.
0

Hi, any progress in this topic? I have the same issue and this is NO fun.

0

Copy the blade template here that has your form.

0
<div id="search-panel">
  {!! Form::open(['action' => 'RegionsController@search']) !!}
  <ul>
    <li>
      {!! Form::radio('type', 'trails', null, ['id' => 'trails', 'data-submit-form']) !!}
      <label for="trails"><span></span>Wycieczki i szlaki</label>
    </li>
    <li>
      {!! Form::radio('type', 'articles', null, ['id' => 'articles', 'data-submit-form']) !!}
      <label for="articles"><span></span>Zabytki i historia</label>
    </li>
  </ul>
  {!! Form::close() !!}
</div>

If I remove action, it works properly, otherwise form action equals to "localhost/some-folders/public/%7Bmy-wildcard%7D?type=articles&microregions=1" - after checking articles radio button. It is not bad, I do not necessarily have to use POST, or I can just write <form action="...

Nevertheless, I'd like to know, how should I properly access a route with a wildcard then?

Last updated 9 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

amilajack amilajack Joined 19 Jul 2014

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.