title: Get checked radio button value dynamically in Laravel 8
body: <p>Suppose I have two radio buttons related to product pricing. I want to show the product price according to the selection of radio button. As an example if you select <code>regular price</code> radio button, I want show you regular price of the product. And if you select <code>extended price</code> radio button, I wanna show you extended price of the product. How can I do this in Laravel 8? Here is the related code:</p>
  <pre><code>&lt;h3&gt;${{$item_price}}&lt;/h3&gt; // this $item_price is depends on the radio button which customer select.
  
  &lt;div class=&quot;custom-radio&quot;&gt;
    &lt;input type=&quot;radio&quot; id=&quot;opt1&quot; class=&quot;item-price&quot; value=&quot;100&quot; name=&quot;item_price&quot; checked&gt;
    &lt;label for=&quot;opt1&quot; data-price=&quot;100&quot;&gt;
      &lt;span class=&quot;circle&quot;&gt;&lt;/span&gt; Regular Price
    &lt;/label&gt;
  &lt;/div&gt;
  
  &lt;div class=&quot;custom-radio&quot;&gt;
    &lt;input type=&quot;radio&quot; id=&quot;opt2&quot; class=&quot;item-price&quot; value=&quot;150&quot; name=&quot;item_price&quot; checked&gt;
    &lt;label for=&quot;opt1&quot; data-price=&quot;150&quot;&gt;
      &lt;span class=&quot;circle&quot;&gt;&lt;/span&gt; Extended Price
    &lt;/label&gt;
  &lt;/div&gt;
  </code></pre>
  <p><strong>I'm new in laravel</strong>, I try with <code>Form::radio(&quot;item_price&quot;, &quot;value&quot;)</code>, but it gives me the radio button(DOM Element) instead of the value!</p>
  <p>Is there any easy way to get the selected/checked radio button value in laravel 8 or php 7 ?</p>