title: How To pre populate Html form field with laravel?
body: <p>i want to pre fill my html form field "Reference" from url  value for referne is afer ref?=1234  how to do it with laravel</p>
  
  <pre><code>&lt;form method="post" accept-charset="utf-8" class="block" enctype="multipart/form-data" action="{{ route('register') }}"&gt;
                          {!! csrf_field() !!}
                          &lt;div class="row"&gt;
                              &lt;div class="col-md-12 col-sm-12"&gt;
                                  &lt;div style="width: 100%" class="alert alert-warning"&gt;
                                      Please Register With a Reference User.
                                  &lt;/div&gt;
                              &lt;/div&gt;
                          &lt;/div&gt;
  
                          &lt;div class="input-group"&gt;
                              &lt;input type="text" name="reference" value="HERE WANT TO SHOW REFEERENCE CODE FROM URL" required class="form-control" placeholder="Enter Reference ID *" aria-describedby="basic-addon1"&gt;
                              &lt;span class="input-group-addon" id="basic-addon1"&gt;&lt;i class="fa fa-handshake-o"&gt;&lt;/i&gt;&lt;/span&gt;
                          &lt;/div&gt;
  </code></pre>